From 5796178ec2dfacfff9bd4e77f8c02b35036adad3 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Sun, 4 Aug 2024 12:08:52 -0400 Subject: chore: generate --- src/generated/structs.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/generated/structs.rs b/src/generated/structs.rs index 0b62017..b99c2a0 100644 --- a/src/generated/structs.rs +++ b/src/generated/structs.rs @@ -413,7 +413,8 @@ pub struct CommitStatus { pub description: Option, pub id: Option, pub status: Option, - pub target_url: Option, + #[serde(deserialize_with = "crate::none_if_blank_url")] + pub target_url: Option, #[serde(with = "time::serde::rfc3339::option")] pub updated_at: Option, #[serde(deserialize_with = "crate::none_if_blank_url")] @@ -2847,8 +2848,7 @@ pub struct WikiPage { pub html_url: Option, pub last_commit: Option, pub sidebar: Option, - #[serde(deserialize_with = "crate::none_if_blank_url")] - pub sub_url: Option, + pub sub_url: Option, pub title: Option, } @@ -2858,8 +2858,7 @@ pub struct WikiPageMetaData { #[serde(deserialize_with = "crate::none_if_blank_url")] pub html_url: Option, pub last_commit: Option, - #[serde(deserialize_with = "crate::none_if_blank_url")] - pub sub_url: Option, + pub sub_url: Option, pub title: Option, } -- cgit v1.2.3