From 4f49ec8478135a966d4d223d501961c9811cbd2b Mon Sep 17 00:00:00 2001 From: Andre Bandarra Date: Wed, 7 Feb 2024 14:01:23 +0000 Subject: [PATCH] Make Citation uri Optional --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index 10168c6..8de4693 100644 --- a/src/types.rs +++ b/src/types.rs @@ -97,7 +97,7 @@ pub struct SafetyRating { pub struct Citation { pub start_index: i32, pub end_index: i32, - pub uri: String, + pub uri: Option, } #[derive(Debug, Serialize, Deserialize)]