A better Rust ATProto crate

re-generated API post bytes helpers and nullable lexicon fix

Orual 9820827f ba9249d4

Changed files
+1267 -1105
crates
jacquard-api
src
app_blebbit
authr
folder
group
page
app_bsky
app_ocho
app_rocksky
beauty_cybernetic
blog_pckt
blue__2048
verification
blue_rito
feed
service
blue_zio
atfile
buzz_bookhive
chat_bsky
club_stellz
com_atproto
com_crabdance
nandi
com_shinolabs
com_whtwnd
community_lexicon
bookmarks
calendar
payments
computer_aesthetic
dev_baileytownsend
health
dev_fudgeu
experimental
dev_ocbwoy3
blueboard
fm_teal
fyi_frontpage
fyi_unravel
frontpage
lol_jbc
feed
moe_karashiiro
kpaste
my_skylights
net_altq
net_anisota
net_bnewbold
net_mmatt
right
vitals
net_wafrn
network_slices
org_devcon
event
org_farmapps
temp
agroconnect
org_robocracy
place_atwork
place_stream
place_wisp
pub_leaflet
sh_tangled
sh_weaver
social_clippr
social_grain
social_pmsky
social_psky
tools_ozone
tools_smokesignal
blahg
content
uk_skyblur
us_polhem
win_tomo_x
pushat
+3 -3
crates/jacquard-api/src/app_blebbit/authr/folder/record.rs
··· 19 19 pub struct Record<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub cuid: Option<jacquard_common::CowStr<'a>>, 22 + pub cuid: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub name: Option<jacquard_common::CowStr<'a>>, 25 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 - pub public: Option<bool>, 27 + pub public: std::option::Option<bool>, 28 28 } 29 29 30 30 pub mod record_state {
+5 -5
crates/jacquard-api/src/app_blebbit/authr/group/record.rs
··· 19 19 pub struct Record<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub cuid: Option<jacquard_common::CowStr<'a>>, 22 + pub cuid: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub description: Option<jacquard_common::CowStr<'a>>, 25 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub display: Option<jacquard_common::CowStr<'a>>, 28 + pub display: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub name: Option<jacquard_common::CowStr<'a>>, 31 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 - pub public: Option<bool>, 33 + pub public: std::option::Option<bool>, 34 34 } 35 35 36 36 pub mod record_state {
+4 -4
crates/jacquard-api/src/app_blebbit/authr/page/record.rs
··· 19 19 pub struct Record<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub content: Option<jacquard_common::CowStr<'a>>, 22 + pub content: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub cuid: Option<jacquard_common::CowStr<'a>>, 25 + pub cuid: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub name: Option<jacquard_common::CowStr<'a>>, 28 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub public: Option<bool>, 30 + pub public: std::option::Option<bool>, 31 31 } 32 32 33 33 pub mod record_state {
+52 -50
crates/jacquard-api/src/app_bsky/actor.rs
··· 3502 3502 /// Groups of users to apply the muted word to. If undefined, applies to all users. 3503 3503 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3504 3504 #[serde(borrow)] 3505 - pub actor_target: Option<jacquard_common::CowStr<'a>>, 3505 + pub actor_target: std::option::Option<jacquard_common::CowStr<'a>>, 3506 3506 /// The date and time at which the muted word will expire and no longer be applied. 3507 3507 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3508 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 3508 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 3509 3509 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3510 3510 #[serde(borrow)] 3511 - pub id: Option<jacquard_common::CowStr<'a>>, 3511 + pub id: std::option::Option<jacquard_common::CowStr<'a>>, 3512 3512 /// The intended targets of the muted word. 3513 3513 #[serde(borrow)] 3514 3514 pub targets: Vec<crate::app_bsky::actor::MutedWordTarget<'a>>, ··· 3998 3998 /// Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. 3999 3999 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4000 4000 #[serde(borrow)] 4001 - pub data: Option<jacquard_common::CowStr<'a>>, 4001 + pub data: std::option::Option<jacquard_common::CowStr<'a>>, 4002 4002 /// The date and time at which the NUX will expire and should be considered completed. 4003 4003 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4004 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 4004 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 4005 4005 #[serde(borrow)] 4006 4006 pub id: jacquard_common::CowStr<'a>, 4007 4007 } ··· 4551 4551 pub struct ProfileView<'a> { 4552 4552 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4553 4553 #[serde(borrow)] 4554 - pub associated: Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 4554 + pub associated: std::option::Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 4555 4555 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4556 4556 #[serde(borrow)] 4557 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 4557 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 4558 4558 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4559 - pub created_at: Option<jacquard_common::types::string::Datetime>, 4559 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 4560 4560 /// Debug information for internal development 4561 4561 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4562 4562 #[serde(borrow)] 4563 - pub debug: Option<jacquard_common::types::value::Data<'a>>, 4563 + pub debug: std::option::Option<jacquard_common::types::value::Data<'a>>, 4564 4564 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4565 4565 #[serde(borrow)] 4566 - pub description: Option<jacquard_common::CowStr<'a>>, 4566 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 4567 4567 #[serde(borrow)] 4568 4568 pub did: jacquard_common::types::string::Did<'a>, 4569 4569 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4570 4570 #[serde(borrow)] 4571 - pub display_name: Option<jacquard_common::CowStr<'a>>, 4571 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 4572 4572 #[serde(borrow)] 4573 4573 pub handle: jacquard_common::types::string::Handle<'a>, 4574 4574 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4575 - pub indexed_at: Option<jacquard_common::types::string::Datetime>, 4575 + pub indexed_at: std::option::Option<jacquard_common::types::string::Datetime>, 4576 4576 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4577 4577 #[serde(borrow)] 4578 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 4578 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 4579 4579 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4580 4580 #[serde(borrow)] 4581 - pub pronouns: Option<jacquard_common::CowStr<'a>>, 4581 + pub pronouns: std::option::Option<jacquard_common::CowStr<'a>>, 4582 4582 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4583 4583 #[serde(borrow)] 4584 - pub status: Option<crate::app_bsky::actor::StatusView<'a>>, 4584 + pub status: std::option::Option<crate::app_bsky::actor::StatusView<'a>>, 4585 4585 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4586 4586 #[serde(borrow)] 4587 - pub verification: Option<crate::app_bsky::actor::VerificationState<'a>>, 4587 + pub verification: std::option::Option<crate::app_bsky::actor::VerificationState<'a>>, 4588 4588 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4589 4589 #[serde(borrow)] 4590 - pub viewer: Option<crate::app_bsky::actor::ViewerState<'a>>, 4590 + pub viewer: std::option::Option<crate::app_bsky::actor::ViewerState<'a>>, 4591 4591 } 4592 4592 4593 4593 pub mod profile_view_state { ··· 5097 5097 pub struct ProfileViewBasic<'a> { 5098 5098 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5099 5099 #[serde(borrow)] 5100 - pub associated: Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 5100 + pub associated: std::option::Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 5101 5101 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5102 5102 #[serde(borrow)] 5103 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 5103 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 5104 5104 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5105 - pub created_at: Option<jacquard_common::types::string::Datetime>, 5105 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 5106 5106 /// Debug information for internal development 5107 5107 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5108 5108 #[serde(borrow)] 5109 - pub debug: Option<jacquard_common::types::value::Data<'a>>, 5109 + pub debug: std::option::Option<jacquard_common::types::value::Data<'a>>, 5110 5110 #[serde(borrow)] 5111 5111 pub did: jacquard_common::types::string::Did<'a>, 5112 5112 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5113 5113 #[serde(borrow)] 5114 - pub display_name: Option<jacquard_common::CowStr<'a>>, 5114 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 5115 5115 #[serde(borrow)] 5116 5116 pub handle: jacquard_common::types::string::Handle<'a>, 5117 5117 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5118 5118 #[serde(borrow)] 5119 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 5119 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 5120 5120 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5121 5121 #[serde(borrow)] 5122 - pub pronouns: Option<jacquard_common::CowStr<'a>>, 5122 + pub pronouns: std::option::Option<jacquard_common::CowStr<'a>>, 5123 5123 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5124 5124 #[serde(borrow)] 5125 - pub status: Option<crate::app_bsky::actor::StatusView<'a>>, 5125 + pub status: std::option::Option<crate::app_bsky::actor::StatusView<'a>>, 5126 5126 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5127 5127 #[serde(borrow)] 5128 - pub verification: Option<crate::app_bsky::actor::VerificationState<'a>>, 5128 + pub verification: std::option::Option<crate::app_bsky::actor::VerificationState<'a>>, 5129 5129 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5130 5130 #[serde(borrow)] 5131 - pub viewer: Option<crate::app_bsky::actor::ViewerState<'a>>, 5131 + pub viewer: std::option::Option<crate::app_bsky::actor::ViewerState<'a>>, 5132 5132 } 5133 5133 5134 5134 pub mod profile_view_basic_state { ··· 5562 5562 pub struct ProfileViewDetailed<'a> { 5563 5563 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5564 5564 #[serde(borrow)] 5565 - pub associated: Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 5565 + pub associated: std::option::Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 5566 5566 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5567 5567 #[serde(borrow)] 5568 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 5568 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 5569 5569 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5570 5570 #[serde(borrow)] 5571 - pub banner: Option<jacquard_common::types::string::Uri<'a>>, 5571 + pub banner: std::option::Option<jacquard_common::types::string::Uri<'a>>, 5572 5572 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5573 - pub created_at: Option<jacquard_common::types::string::Datetime>, 5573 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 5574 5574 /// Debug information for internal development 5575 5575 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5576 5576 #[serde(borrow)] 5577 - pub debug: Option<jacquard_common::types::value::Data<'a>>, 5577 + pub debug: std::option::Option<jacquard_common::types::value::Data<'a>>, 5578 5578 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5579 5579 #[serde(borrow)] 5580 - pub description: Option<jacquard_common::CowStr<'a>>, 5580 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 5581 5581 #[serde(borrow)] 5582 5582 pub did: jacquard_common::types::string::Did<'a>, 5583 5583 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5584 5584 #[serde(borrow)] 5585 - pub display_name: Option<jacquard_common::CowStr<'a>>, 5585 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 5586 5586 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5587 - pub followers_count: Option<i64>, 5587 + pub followers_count: std::option::Option<i64>, 5588 5588 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5589 - pub follows_count: Option<i64>, 5589 + pub follows_count: std::option::Option<i64>, 5590 5590 #[serde(borrow)] 5591 5591 pub handle: jacquard_common::types::string::Handle<'a>, 5592 5592 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5593 - pub indexed_at: Option<jacquard_common::types::string::Datetime>, 5593 + pub indexed_at: std::option::Option<jacquard_common::types::string::Datetime>, 5594 5594 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5595 5595 #[serde(borrow)] 5596 - pub joined_via_starter_pack: Option< 5596 + pub joined_via_starter_pack: std::option::Option< 5597 5597 crate::app_bsky::graph::StarterPackViewBasic<'a>, 5598 5598 >, 5599 5599 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5600 5600 #[serde(borrow)] 5601 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 5601 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 5602 5602 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5603 5603 #[serde(borrow)] 5604 - pub pinned_post: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 5604 + pub pinned_post: std::option::Option< 5605 + crate::com_atproto::repo::strong_ref::StrongRef<'a>, 5606 + >, 5605 5607 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5606 - pub posts_count: Option<i64>, 5608 + pub posts_count: std::option::Option<i64>, 5607 5609 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5608 5610 #[serde(borrow)] 5609 - pub pronouns: Option<jacquard_common::CowStr<'a>>, 5611 + pub pronouns: std::option::Option<jacquard_common::CowStr<'a>>, 5610 5612 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5611 5613 #[serde(borrow)] 5612 - pub status: Option<crate::app_bsky::actor::StatusView<'a>>, 5614 + pub status: std::option::Option<crate::app_bsky::actor::StatusView<'a>>, 5613 5615 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5614 5616 #[serde(borrow)] 5615 - pub verification: Option<crate::app_bsky::actor::VerificationState<'a>>, 5617 + pub verification: std::option::Option<crate::app_bsky::actor::VerificationState<'a>>, 5616 5618 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5617 5619 #[serde(borrow)] 5618 - pub viewer: Option<crate::app_bsky::actor::ViewerState<'a>>, 5620 + pub viewer: std::option::Option<crate::app_bsky::actor::ViewerState<'a>>, 5619 5621 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5620 5622 #[serde(borrow)] 5621 - pub website: Option<jacquard_common::types::string::Uri<'a>>, 5623 + pub website: std::option::Option<jacquard_common::types::string::Uri<'a>>, 5622 5624 } 5623 5625 5624 5626 pub mod profile_view_detailed_state { ··· 6528 6530 #[serde(borrow)] 6529 6531 pub saved: Vec<jacquard_common::types::string::AtUri<'a>>, 6530 6532 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6531 - pub timeline_index: Option<i64>, 6533 + pub timeline_index: std::option::Option<i64>, 6532 6534 } 6533 6535 6534 6536 pub mod saved_feeds_pref_state { ··· 6857 6859 /// An optional embed associated with the status. 6858 6860 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6859 6861 #[serde(borrow)] 6860 - pub embed: Option<crate::app_bsky::embed::external::View<'a>>, 6862 + pub embed: std::option::Option<crate::app_bsky::embed::external::View<'a>>, 6861 6863 /// The date when this status will expire. The application might choose to no longer return the status after expiration. 6862 6864 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6863 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 6865 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 6864 6866 /// True if the status is not expired, false if it is expired. Only present if expiration was set. 6865 6867 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6866 - pub is_active: Option<bool>, 6868 + pub is_active: std::option::Option<bool>, 6867 6869 #[serde(borrow)] 6868 6870 pub record: jacquard_common::types::value::Data<'a>, 6869 6871 /// The status for the account.
+12 -10
crates/jacquard-api/src/app_bsky/actor/profile.rs
··· 21 21 /// Small image to be displayed next to posts from account. AKA, 'profile picture' 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 /// Larger horizontal image to display behind profile view. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 28 + pub banner: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub created_at: Option<jacquard_common::types::string::Datetime>, 30 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 31 31 /// Free-form profile description text. 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub description: Option<jacquard_common::CowStr<'a>>, 34 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub display_name: Option<jacquard_common::CowStr<'a>>, 37 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub joined_via_starter_pack: Option< 40 + pub joined_via_starter_pack: std::option::Option< 41 41 crate::com_atproto::repo::strong_ref::StrongRef<'a>, 42 42 >, 43 43 /// Self-label values, specific to the Bluesky application, on the overall account. 44 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 45 #[serde(borrow)] 46 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 46 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub pinned_post: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 49 + pub pinned_post: std::option::Option< 50 + crate::com_atproto::repo::strong_ref::StrongRef<'a>, 51 + >, 50 52 /// Free-form pronouns text. 51 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 54 #[serde(borrow)] 53 - pub pronouns: Option<jacquard_common::CowStr<'a>>, 55 + pub pronouns: std::option::Option<jacquard_common::CowStr<'a>>, 54 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 57 #[serde(borrow)] 56 - pub website: Option<jacquard_common::types::string::Uri<'a>>, 58 + pub website: std::option::Option<jacquard_common::types::string::Uri<'a>>, 57 59 } 58 60 59 61 pub mod profile_state {
+2 -2
crates/jacquard-api/src/app_bsky/actor/status.rs
··· 39 39 pub created_at: jacquard_common::types::string::Datetime, 40 40 /// The duration of the status in minutes. Applications can choose to impose minimum and maximum limits. 41 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 - pub duration_minutes: Option<i64>, 42 + pub duration_minutes: std::option::Option<i64>, 43 43 /// An optional embed associated with the status. 44 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 45 #[serde(borrow)] 46 - pub embed: Option<crate::app_bsky::embed::external::ExternalRecord<'a>>, 46 + pub embed: std::option::Option<crate::app_bsky::embed::external::ExternalRecord<'a>>, 47 47 /// The status for the account. 48 48 #[serde(borrow)] 49 49 pub status: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/app_bsky/bookmark.rs
··· 263 263 #[serde(rename_all = "camelCase")] 264 264 pub struct BookmarkView<'a> { 265 265 #[serde(skip_serializing_if = "std::option::Option::is_none")] 266 - pub created_at: Option<jacquard_common::types::string::Datetime>, 266 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 267 267 #[serde(borrow)] 268 268 pub item: BookmarkViewItem<'a>, 269 269 /// A strong ref to the bookmarked record.
+2 -2
crates/jacquard-api/src/app_bsky/embed/external.rs
··· 21 21 pub description: jacquard_common::CowStr<'a>, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub thumb: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub thumb: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 #[serde(borrow)] 26 26 pub title: jacquard_common::CowStr<'a>, 27 27 #[serde(borrow)] ··· 767 767 pub description: jacquard_common::CowStr<'a>, 768 768 #[serde(skip_serializing_if = "std::option::Option::is_none")] 769 769 #[serde(borrow)] 770 - pub thumb: Option<jacquard_common::types::string::Uri<'a>>, 770 + pub thumb: std::option::Option<jacquard_common::types::string::Uri<'a>>, 771 771 #[serde(borrow)] 772 772 pub title: jacquard_common::CowStr<'a>, 773 773 #[serde(borrow)]
+2 -2
crates/jacquard-api/src/app_bsky/embed/images.rs
··· 22 22 pub alt: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub aspect_ratio: Option<crate::app_bsky::embed::AspectRatio<'a>>, 25 + pub aspect_ratio: std::option::Option<crate::app_bsky::embed::AspectRatio<'a>>, 26 26 #[serde(borrow)] 27 27 pub image: jacquard_common::types::blob::BlobRef<'a>, 28 28 } ··· 741 741 pub alt: jacquard_common::CowStr<'a>, 742 742 #[serde(skip_serializing_if = "std::option::Option::is_none")] 743 743 #[serde(borrow)] 744 - pub aspect_ratio: Option<crate::app_bsky::embed::AspectRatio<'a>>, 744 + pub aspect_ratio: std::option::Option<crate::app_bsky::embed::AspectRatio<'a>>, 745 745 /// Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. 746 746 #[serde(borrow)] 747 747 pub fullsize: jacquard_common::types::string::Uri<'a>,
+6 -6
crates/jacquard-api/src/app_bsky/embed/record.rs
··· 1273 1273 pub cid: jacquard_common::types::string::Cid<'a>, 1274 1274 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1275 1275 #[serde(borrow)] 1276 - pub embeds: Option<Vec<ViewRecordEmbedsItem<'a>>>, 1276 + pub embeds: std::option::Option<Vec<ViewRecordEmbedsItem<'a>>>, 1277 1277 pub indexed_at: jacquard_common::types::string::Datetime, 1278 1278 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1279 1279 #[serde(borrow)] 1280 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 1280 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 1281 1281 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1282 - pub like_count: Option<i64>, 1282 + pub like_count: std::option::Option<i64>, 1283 1283 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1284 - pub quote_count: Option<i64>, 1284 + pub quote_count: std::option::Option<i64>, 1285 1285 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1286 - pub reply_count: Option<i64>, 1286 + pub reply_count: std::option::Option<i64>, 1287 1287 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1288 - pub repost_count: Option<i64>, 1288 + pub repost_count: std::option::Option<i64>, 1289 1289 #[serde(borrow)] 1290 1290 pub uri: jacquard_common::types::string::AtUri<'a>, 1291 1291 /// The record data itself.
+6 -6
crates/jacquard-api/src/app_bsky/embed/video.rs
··· 414 414 /// Alt text description of the video, for accessibility. 415 415 #[serde(skip_serializing_if = "std::option::Option::is_none")] 416 416 #[serde(borrow)] 417 - pub alt: Option<jacquard_common::CowStr<'a>>, 417 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 418 418 #[serde(skip_serializing_if = "std::option::Option::is_none")] 419 419 #[serde(borrow)] 420 - pub aspect_ratio: Option<crate::app_bsky::embed::AspectRatio<'a>>, 420 + pub aspect_ratio: std::option::Option<crate::app_bsky::embed::AspectRatio<'a>>, 421 421 #[serde(skip_serializing_if = "std::option::Option::is_none")] 422 422 #[serde(borrow)] 423 - pub captions: Option<Vec<crate::app_bsky::embed::video::Caption<'a>>>, 423 + pub captions: std::option::Option<Vec<crate::app_bsky::embed::video::Caption<'a>>>, 424 424 /// The mp4 video file. May be up to 100mb, formerly limited to 50mb. 425 425 #[serde(borrow)] 426 426 pub video: jacquard_common::types::blob::BlobRef<'a>, ··· 664 664 pub struct View<'a> { 665 665 #[serde(skip_serializing_if = "std::option::Option::is_none")] 666 666 #[serde(borrow)] 667 - pub alt: Option<jacquard_common::CowStr<'a>>, 667 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 668 668 #[serde(skip_serializing_if = "std::option::Option::is_none")] 669 669 #[serde(borrow)] 670 - pub aspect_ratio: Option<crate::app_bsky::embed::AspectRatio<'a>>, 670 + pub aspect_ratio: std::option::Option<crate::app_bsky::embed::AspectRatio<'a>>, 671 671 #[serde(borrow)] 672 672 pub cid: jacquard_common::types::string::Cid<'a>, 673 673 #[serde(borrow)] 674 674 pub playlist: jacquard_common::types::string::Uri<'a>, 675 675 #[serde(skip_serializing_if = "std::option::Option::is_none")] 676 676 #[serde(borrow)] 677 - pub thumbnail: Option<jacquard_common::types::string::Uri<'a>>, 677 + pub thumbnail: std::option::Option<jacquard_common::types::string::Uri<'a>>, 678 678 } 679 679 680 680 pub mod view_state {
+35 -31
crates/jacquard-api/src/app_bsky/feed.rs
··· 46 46 pub did: jacquard_common::types::string::Did<'a>, 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub viewer: Option<crate::app_bsky::actor::ViewerState<'a>>, 49 + pub viewer: std::option::Option<crate::app_bsky::actor::ViewerState<'a>>, 50 50 } 51 51 52 52 pub mod blocked_author_state { ··· 1916 1916 /// Context provided by feed generator that may be passed back alongside interactions. 1917 1917 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1918 1918 #[serde(borrow)] 1919 - pub feed_context: Option<jacquard_common::CowStr<'a>>, 1919 + pub feed_context: std::option::Option<jacquard_common::CowStr<'a>>, 1920 1920 #[serde(borrow)] 1921 1921 pub post: crate::app_bsky::feed::PostView<'a>, 1922 1922 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1923 1923 #[serde(borrow)] 1924 - pub reason: Option<FeedViewPostReason<'a>>, 1924 + pub reason: std::option::Option<FeedViewPostReason<'a>>, 1925 1925 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1926 1926 #[serde(borrow)] 1927 - pub reply: Option<crate::app_bsky::feed::ReplyRef<'a>>, 1927 + pub reply: std::option::Option<crate::app_bsky::feed::ReplyRef<'a>>, 1928 1928 /// Unique identifier per request that may be passed back alongside interactions. 1929 1929 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1930 1930 #[serde(borrow)] 1931 - pub req_id: Option<jacquard_common::CowStr<'a>>, 1931 + pub req_id: std::option::Option<jacquard_common::CowStr<'a>>, 1932 1932 } 1933 1933 1934 1934 pub mod feed_view_post_state { ··· 2188 2188 #[serde(rename_all = "camelCase")] 2189 2189 pub struct GeneratorView<'a> { 2190 2190 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2191 - pub accepts_interactions: Option<bool>, 2191 + pub accepts_interactions: std::option::Option<bool>, 2192 2192 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2193 2193 #[serde(borrow)] 2194 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 2194 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 2195 2195 #[serde(borrow)] 2196 2196 pub cid: jacquard_common::types::string::Cid<'a>, 2197 2197 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2198 2198 #[serde(borrow)] 2199 - pub content_mode: Option<jacquard_common::CowStr<'a>>, 2199 + pub content_mode: std::option::Option<jacquard_common::CowStr<'a>>, 2200 2200 #[serde(borrow)] 2201 2201 pub creator: crate::app_bsky::actor::ProfileView<'a>, 2202 2202 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2203 2203 #[serde(borrow)] 2204 - pub description: Option<jacquard_common::CowStr<'a>>, 2204 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 2205 2205 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2206 2206 #[serde(borrow)] 2207 - pub description_facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 2207 + pub description_facets: std::option::Option< 2208 + Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 2209 + >, 2208 2210 #[serde(borrow)] 2209 2211 pub did: jacquard_common::types::string::Did<'a>, 2210 2212 #[serde(borrow)] ··· 2212 2214 pub indexed_at: jacquard_common::types::string::Datetime, 2213 2215 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2214 2216 #[serde(borrow)] 2215 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 2217 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 2216 2218 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2217 - pub like_count: Option<i64>, 2219 + pub like_count: std::option::Option<i64>, 2218 2220 #[serde(borrow)] 2219 2221 pub uri: jacquard_common::types::string::AtUri<'a>, 2220 2222 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2221 2223 #[serde(borrow)] 2222 - pub viewer: Option<crate::app_bsky::feed::GeneratorViewerState<'a>>, 2224 + pub viewer: std::option::Option<crate::app_bsky::feed::GeneratorViewerState<'a>>, 2223 2225 } 2224 2226 2225 2227 pub mod generator_view_state { ··· 3161 3163 #[serde(borrow)] 3162 3164 pub author: crate::app_bsky::actor::ProfileViewBasic<'a>, 3163 3165 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3164 - pub bookmark_count: Option<i64>, 3166 + pub bookmark_count: std::option::Option<i64>, 3165 3167 #[serde(borrow)] 3166 3168 pub cid: jacquard_common::types::string::Cid<'a>, 3167 3169 /// Debug information for internal development 3168 3170 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3169 3171 #[serde(borrow)] 3170 - pub debug: Option<jacquard_common::types::value::Data<'a>>, 3172 + pub debug: std::option::Option<jacquard_common::types::value::Data<'a>>, 3171 3173 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3172 3174 #[serde(borrow)] 3173 - pub embed: Option<PostViewEmbed<'a>>, 3175 + pub embed: std::option::Option<PostViewEmbed<'a>>, 3174 3176 pub indexed_at: jacquard_common::types::string::Datetime, 3175 3177 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3176 3178 #[serde(borrow)] 3177 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 3179 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 3178 3180 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3179 - pub like_count: Option<i64>, 3181 + pub like_count: std::option::Option<i64>, 3180 3182 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3181 - pub quote_count: Option<i64>, 3183 + pub quote_count: std::option::Option<i64>, 3182 3184 #[serde(borrow)] 3183 3185 pub record: jacquard_common::types::value::Data<'a>, 3184 3186 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3185 - pub reply_count: Option<i64>, 3187 + pub reply_count: std::option::Option<i64>, 3186 3188 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3187 - pub repost_count: Option<i64>, 3189 + pub repost_count: std::option::Option<i64>, 3188 3190 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3189 3191 #[serde(borrow)] 3190 - pub threadgate: Option<crate::app_bsky::feed::ThreadgateView<'a>>, 3192 + pub threadgate: std::option::Option<crate::app_bsky::feed::ThreadgateView<'a>>, 3191 3193 #[serde(borrow)] 3192 3194 pub uri: jacquard_common::types::string::AtUri<'a>, 3193 3195 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3194 3196 #[serde(borrow)] 3195 - pub viewer: Option<crate::app_bsky::feed::ViewerState<'a>>, 3197 + pub viewer: std::option::Option<crate::app_bsky::feed::ViewerState<'a>>, 3196 3198 } 3197 3199 3198 3200 pub mod post_view_state { ··· 3740 3742 pub by: crate::app_bsky::actor::ProfileViewBasic<'a>, 3741 3743 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3742 3744 #[serde(borrow)] 3743 - pub cid: Option<jacquard_common::types::string::Cid<'a>>, 3745 + pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 3744 3746 pub indexed_at: jacquard_common::types::string::Datetime, 3745 3747 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3746 3748 #[serde(borrow)] 3747 - pub uri: Option<jacquard_common::types::string::AtUri<'a>>, 3749 + pub uri: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 3748 3750 } 3749 3751 3750 3752 pub mod reason_repost_state { ··· 3963 3965 /// When parent is a reply to another post, this is the author of that post. 3964 3966 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3965 3967 #[serde(borrow)] 3966 - pub grandparent_author: Option<crate::app_bsky::actor::ProfileViewBasic<'a>>, 3968 + pub grandparent_author: std::option::Option< 3969 + crate::app_bsky::actor::ProfileViewBasic<'a>, 3970 + >, 3967 3971 #[serde(borrow)] 3968 3972 pub parent: ReplyRefParent<'a>, 3969 3973 #[serde(borrow)] ··· 4242 4246 /// Context that will be passed through to client and may be passed to feed generator back alongside interactions. 4243 4247 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4244 4248 #[serde(borrow)] 4245 - pub feed_context: Option<jacquard_common::CowStr<'a>>, 4249 + pub feed_context: std::option::Option<jacquard_common::CowStr<'a>>, 4246 4250 #[serde(borrow)] 4247 4251 pub post: jacquard_common::types::string::AtUri<'a>, 4248 4252 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4249 4253 #[serde(borrow)] 4250 - pub reason: Option<SkeletonFeedPostReason<'a>>, 4254 + pub reason: std::option::Option<SkeletonFeedPostReason<'a>>, 4251 4255 } 4252 4256 4253 4257 pub mod skeleton_feed_post_state { ··· 4665 4669 pub struct ThreadViewPost<'a> { 4666 4670 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4667 4671 #[serde(borrow)] 4668 - pub parent: Option<ThreadViewPostParent<'a>>, 4672 + pub parent: std::option::Option<ThreadViewPostParent<'a>>, 4669 4673 #[serde(borrow)] 4670 4674 pub post: crate::app_bsky::feed::PostView<'a>, 4671 4675 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4672 4676 #[serde(borrow)] 4673 - pub replies: Option<Vec<ThreadViewPostRepliesItem<'a>>>, 4677 + pub replies: std::option::Option<Vec<ThreadViewPostRepliesItem<'a>>>, 4674 4678 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4675 4679 #[serde(borrow)] 4676 - pub thread_context: Option<crate::app_bsky::feed::ThreadContext<'a>>, 4680 + pub thread_context: std::option::Option<crate::app_bsky::feed::ThreadContext<'a>>, 4677 4681 } 4678 4682 4679 4683 pub mod thread_view_post_state {
+8 -6
crates/jacquard-api/src/app_bsky/feed/generator.rs
··· 20 20 pub struct Generator<'a> { 21 21 /// Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub accepts_interactions: Option<bool>, 23 + pub accepts_interactions: std::option::Option<bool>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 26 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub content_mode: Option<jacquard_common::CowStr<'a>>, 29 + pub content_mode: std::option::Option<jacquard_common::CowStr<'a>>, 30 30 pub created_at: jacquard_common::types::string::Datetime, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub description: Option<jacquard_common::CowStr<'a>>, 33 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub description_facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 36 + pub description_facets: std::option::Option< 37 + Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 38 + >, 37 39 #[serde(borrow)] 38 40 pub did: jacquard_common::types::string::Did<'a>, 39 41 #[serde(borrow)] ··· 41 43 /// Self-label values 42 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 45 #[serde(borrow)] 44 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 46 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 45 47 } 46 48 47 49 pub mod generator_state {
+1 -1
crates/jacquard-api/src/app_bsky/feed/like.rs
··· 23 23 pub subject: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub via: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 26 + pub via: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 27 27 } 28 28 29 29 pub mod like_state {
+7 -7
crates/jacquard-api/src/app_bsky/feed/post.rs
··· 584 584 pub created_at: jacquard_common::types::string::Datetime, 585 585 #[serde(skip_serializing_if = "std::option::Option::is_none")] 586 586 #[serde(borrow)] 587 - pub embed: Option<PostEmbed<'a>>, 587 + pub embed: std::option::Option<PostEmbed<'a>>, 588 588 /// DEPRECATED: replaced by app.bsky.richtext.facet. 589 589 #[serde(skip_serializing_if = "std::option::Option::is_none")] 590 590 #[serde(borrow)] 591 - pub entities: Option<Vec<crate::app_bsky::feed::post::Entity<'a>>>, 591 + pub entities: std::option::Option<Vec<crate::app_bsky::feed::post::Entity<'a>>>, 592 592 /// Annotations of text (mentions, URLs, hashtags, etc) 593 593 #[serde(skip_serializing_if = "std::option::Option::is_none")] 594 594 #[serde(borrow)] 595 - pub facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 595 + pub facets: std::option::Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 596 596 /// Self-label values for this post. Effectively content warnings. 597 597 #[serde(skip_serializing_if = "std::option::Option::is_none")] 598 598 #[serde(borrow)] 599 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 599 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 600 600 /// Indicates human language of post primary text content. 601 601 #[serde(skip_serializing_if = "std::option::Option::is_none")] 602 - pub langs: Option<Vec<jacquard_common::types::string::Language>>, 602 + pub langs: std::option::Option<Vec<jacquard_common::types::string::Language>>, 603 603 #[serde(skip_serializing_if = "std::option::Option::is_none")] 604 604 #[serde(borrow)] 605 - pub reply: Option<crate::app_bsky::feed::post::ReplyRef<'a>>, 605 + pub reply: std::option::Option<crate::app_bsky::feed::post::ReplyRef<'a>>, 606 606 /// Additional hashtags, in addition to any included in post text and facets. 607 607 #[serde(skip_serializing_if = "std::option::Option::is_none")] 608 608 #[serde(borrow)] 609 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 609 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 610 610 /// The primary post content. May be an empty string, if there are embeds. 611 611 #[serde(borrow)] 612 612 pub text: jacquard_common::CowStr<'a>,
+6 -2
crates/jacquard-api/src/app_bsky/feed/postgate.rs
··· 200 200 /// List of AT-URIs embedding this post that the author has detached from. 201 201 #[serde(skip_serializing_if = "std::option::Option::is_none")] 202 202 #[serde(borrow)] 203 - pub detached_embedding_uris: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 203 + pub detached_embedding_uris: std::option::Option< 204 + Vec<jacquard_common::types::string::AtUri<'a>>, 205 + >, 204 206 /// List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed. 205 207 #[serde(skip_serializing_if = "std::option::Option::is_none")] 206 208 #[serde(borrow)] 207 - pub embedding_rules: Option<Vec<crate::app_bsky::feed::postgate::DisableRule<'a>>>, 209 + pub embedding_rules: std::option::Option< 210 + Vec<crate::app_bsky::feed::postgate::DisableRule<'a>>, 211 + >, 208 212 /// Reference (AT-URI) to the post record. 209 213 #[serde(borrow)] 210 214 pub post: jacquard_common::types::string::AtUri<'a>,
+1 -1
crates/jacquard-api/src/app_bsky/feed/repost.rs
··· 23 23 pub subject: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub via: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 26 + pub via: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 27 27 } 28 28 29 29 pub mod repost_state {
+4 -2
crates/jacquard-api/src/app_bsky/feed/threadgate.rs
··· 440 440 /// List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply. 441 441 #[serde(skip_serializing_if = "std::option::Option::is_none")] 442 442 #[serde(borrow)] 443 - pub allow: Option<Vec<ThreadgateAllowItem<'a>>>, 443 + pub allow: std::option::Option<Vec<ThreadgateAllowItem<'a>>>, 444 444 pub created_at: jacquard_common::types::string::Datetime, 445 445 /// List of hidden reply URIs. 446 446 #[serde(skip_serializing_if = "std::option::Option::is_none")] 447 447 #[serde(borrow)] 448 - pub hidden_replies: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 448 + pub hidden_replies: std::option::Option< 449 + Vec<jacquard_common::types::string::AtUri<'a>>, 450 + >, 449 451 /// Reference (AT-URI) to the post record. 450 452 #[serde(borrow)] 451 453 pub post: jacquard_common::types::string::AtUri<'a>,
+27 -23
crates/jacquard-api/src/app_bsky/graph.rs
··· 1237 1237 pub struct ListView<'a> { 1238 1238 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1239 1239 #[serde(borrow)] 1240 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 1240 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 1241 1241 #[serde(borrow)] 1242 1242 pub cid: jacquard_common::types::string::Cid<'a>, 1243 1243 #[serde(borrow)] 1244 1244 pub creator: crate::app_bsky::actor::ProfileView<'a>, 1245 1245 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1246 1246 #[serde(borrow)] 1247 - pub description: Option<jacquard_common::CowStr<'a>>, 1247 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 1248 1248 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1249 1249 #[serde(borrow)] 1250 - pub description_facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 1250 + pub description_facets: std::option::Option< 1251 + Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 1252 + >, 1251 1253 pub indexed_at: jacquard_common::types::string::Datetime, 1252 1254 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1253 1255 #[serde(borrow)] 1254 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 1256 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 1255 1257 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1256 - pub list_item_count: Option<i64>, 1258 + pub list_item_count: std::option::Option<i64>, 1257 1259 #[serde(borrow)] 1258 1260 pub name: jacquard_common::CowStr<'a>, 1259 1261 #[serde(borrow)] ··· 1262 1264 pub uri: jacquard_common::types::string::AtUri<'a>, 1263 1265 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1264 1266 #[serde(borrow)] 1265 - pub viewer: Option<crate::app_bsky::graph::ListViewerState<'a>>, 1267 + pub viewer: std::option::Option<crate::app_bsky::graph::ListViewerState<'a>>, 1266 1268 } 1267 1269 1268 1270 pub mod list_view_state { ··· 1802 1804 pub struct ListViewBasic<'a> { 1803 1805 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1804 1806 #[serde(borrow)] 1805 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 1807 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 1806 1808 #[serde(borrow)] 1807 1809 pub cid: jacquard_common::types::string::Cid<'a>, 1808 1810 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1809 - pub indexed_at: Option<jacquard_common::types::string::Datetime>, 1811 + pub indexed_at: std::option::Option<jacquard_common::types::string::Datetime>, 1810 1812 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1811 1813 #[serde(borrow)] 1812 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 1814 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 1813 1815 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1814 - pub list_item_count: Option<i64>, 1816 + pub list_item_count: std::option::Option<i64>, 1815 1817 #[serde(borrow)] 1816 1818 pub name: jacquard_common::CowStr<'a>, 1817 1819 #[serde(borrow)] ··· 1820 1822 pub uri: jacquard_common::types::string::AtUri<'a>, 1821 1823 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1822 1824 #[serde(borrow)] 1823 - pub viewer: Option<crate::app_bsky::graph::ListViewerState<'a>>, 1825 + pub viewer: std::option::Option<crate::app_bsky::graph::ListViewerState<'a>>, 1824 1826 } 1825 1827 1826 1828 pub mod list_view_basic_state { ··· 2473 2475 /// if the actor is followed by this DID, contains the AT-URI of the follow record 2474 2476 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2475 2477 #[serde(borrow)] 2476 - pub followed_by: Option<jacquard_common::types::string::AtUri<'a>>, 2478 + pub followed_by: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 2477 2479 /// if the actor follows this DID, this is the AT-URI of the follow record 2478 2480 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2479 2481 #[serde(borrow)] 2480 - pub following: Option<jacquard_common::types::string::AtUri<'a>>, 2482 + pub following: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 2481 2483 } 2482 2484 2483 2485 pub mod relationship_state { ··· 2664 2666 pub creator: crate::app_bsky::actor::ProfileViewBasic<'a>, 2665 2667 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2666 2668 #[serde(borrow)] 2667 - pub feeds: Option<Vec<crate::app_bsky::feed::GeneratorView<'a>>>, 2669 + pub feeds: std::option::Option<Vec<crate::app_bsky::feed::GeneratorView<'a>>>, 2668 2670 pub indexed_at: jacquard_common::types::string::Datetime, 2669 2671 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2670 - pub joined_all_time_count: Option<i64>, 2672 + pub joined_all_time_count: std::option::Option<i64>, 2671 2673 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2672 - pub joined_week_count: Option<i64>, 2674 + pub joined_week_count: std::option::Option<i64>, 2673 2675 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2674 2676 #[serde(borrow)] 2675 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 2677 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 2676 2678 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2677 2679 #[serde(borrow)] 2678 - pub list: Option<crate::app_bsky::graph::ListViewBasic<'a>>, 2680 + pub list: std::option::Option<crate::app_bsky::graph::ListViewBasic<'a>>, 2679 2681 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2680 2682 #[serde(borrow)] 2681 - pub list_items_sample: Option<Vec<crate::app_bsky::graph::ListItemView<'a>>>, 2683 + pub list_items_sample: std::option::Option< 2684 + Vec<crate::app_bsky::graph::ListItemView<'a>>, 2685 + >, 2682 2686 #[serde(borrow)] 2683 2687 pub record: jacquard_common::types::value::Data<'a>, 2684 2688 #[serde(borrow)] ··· 3155 3159 pub creator: crate::app_bsky::actor::ProfileViewBasic<'a>, 3156 3160 pub indexed_at: jacquard_common::types::string::Datetime, 3157 3161 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3158 - pub joined_all_time_count: Option<i64>, 3162 + pub joined_all_time_count: std::option::Option<i64>, 3159 3163 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3160 - pub joined_week_count: Option<i64>, 3164 + pub joined_week_count: std::option::Option<i64>, 3161 3165 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3162 3166 #[serde(borrow)] 3163 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 3167 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 3164 3168 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3165 - pub list_item_count: Option<i64>, 3169 + pub list_item_count: std::option::Option<i64>, 3166 3170 #[serde(borrow)] 3167 3171 pub record: jacquard_common::types::value::Data<'a>, 3168 3172 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/app_bsky/graph/follow.rs
··· 23 23 pub subject: jacquard_common::types::string::Did<'a>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub via: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 26 + pub via: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 27 27 } 28 28 29 29 pub mod follow_state {
+1 -1
crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs
··· 22 22 pub list: crate::app_bsky::graph::ListView<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub list_item: Option<crate::app_bsky::graph::ListItemView<'a>>, 25 + pub list_item: std::option::Option<crate::app_bsky::graph::ListItemView<'a>>, 26 26 } 27 27 28 28 pub mod list_with_membership_state {
+1 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs
··· 234 234 pub struct StarterPackWithMembership<'a> { 235 235 #[serde(skip_serializing_if = "std::option::Option::is_none")] 236 236 #[serde(borrow)] 237 - pub list_item: Option<crate::app_bsky::graph::ListItemView<'a>>, 237 + pub list_item: std::option::Option<crate::app_bsky::graph::ListItemView<'a>>, 238 238 #[serde(borrow)] 239 239 pub starter_pack: crate::app_bsky::graph::StarterPackView<'a>, 240 240 }
+6 -4
crates/jacquard-api/src/app_bsky/graph/list.rs
··· 20 20 pub struct List<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 23 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 24 24 pub created_at: jacquard_common::types::string::Datetime, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub description: Option<jacquard_common::CowStr<'a>>, 27 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description_facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 30 + pub description_facets: std::option::Option< 31 + Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 32 + >, 31 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 34 #[serde(borrow)] 33 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 35 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 34 36 /// Display name for list; can not be empty. 35 37 #[serde(borrow)] 36 38 pub name: jacquard_common::CowStr<'a>,
+7 -3
crates/jacquard-api/src/app_bsky/graph/starterpack.rs
··· 337 337 pub created_at: jacquard_common::types::string::Datetime, 338 338 #[serde(skip_serializing_if = "std::option::Option::is_none")] 339 339 #[serde(borrow)] 340 - pub description: Option<jacquard_common::CowStr<'a>>, 340 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 341 341 #[serde(skip_serializing_if = "std::option::Option::is_none")] 342 342 #[serde(borrow)] 343 - pub description_facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 343 + pub description_facets: std::option::Option< 344 + Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 345 + >, 344 346 #[serde(skip_serializing_if = "std::option::Option::is_none")] 345 347 #[serde(borrow)] 346 - pub feeds: Option<Vec<crate::app_bsky::graph::starterpack::FeedItem<'a>>>, 348 + pub feeds: std::option::Option< 349 + Vec<crate::app_bsky::graph::starterpack::FeedItem<'a>>, 350 + >, 347 351 /// Reference (AT-URI) to the list record. 348 352 #[serde(borrow)] 349 353 pub list: jacquard_common::types::string::AtUri<'a>,
+16 -10
crates/jacquard-api/src/app_bsky/labeler.rs
··· 23 23 /// Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub label_value_definitions: Option< 26 + pub label_value_definitions: std::option::Option< 27 27 Vec<crate::com_atproto::label::LabelValueDefinition<'a>>, 28 28 >, 29 29 /// The label values which this labeler publishes. May include global or custom labels. ··· 612 612 pub indexed_at: jacquard_common::types::string::Datetime, 613 613 #[serde(skip_serializing_if = "std::option::Option::is_none")] 614 614 #[serde(borrow)] 615 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 615 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 616 616 #[serde(skip_serializing_if = "std::option::Option::is_none")] 617 - pub like_count: Option<i64>, 617 + pub like_count: std::option::Option<i64>, 618 618 #[serde(borrow)] 619 619 pub uri: jacquard_common::types::string::AtUri<'a>, 620 620 #[serde(skip_serializing_if = "std::option::Option::is_none")] 621 621 #[serde(borrow)] 622 - pub viewer: Option<crate::app_bsky::labeler::LabelerViewerState<'a>>, 622 + pub viewer: std::option::Option<crate::app_bsky::labeler::LabelerViewerState<'a>>, 623 623 } 624 624 625 625 pub mod labeler_view_state { ··· 945 945 pub indexed_at: jacquard_common::types::string::Datetime, 946 946 #[serde(skip_serializing_if = "std::option::Option::is_none")] 947 947 #[serde(borrow)] 948 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 948 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 949 949 #[serde(skip_serializing_if = "std::option::Option::is_none")] 950 - pub like_count: Option<i64>, 950 + pub like_count: std::option::Option<i64>, 951 951 #[serde(borrow)] 952 952 pub policies: crate::app_bsky::labeler::LabelerPolicies<'a>, 953 953 /// The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. 954 954 #[serde(skip_serializing_if = "std::option::Option::is_none")] 955 955 #[serde(borrow)] 956 - pub reason_types: Option<Vec<crate::com_atproto::moderation::ReasonType<'a>>>, 956 + pub reason_types: std::option::Option< 957 + Vec<crate::com_atproto::moderation::ReasonType<'a>>, 958 + >, 957 959 /// Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. 958 960 #[serde(skip_serializing_if = "std::option::Option::is_none")] 959 961 #[serde(borrow)] 960 - pub subject_collections: Option<Vec<jacquard_common::types::string::Nsid<'a>>>, 962 + pub subject_collections: std::option::Option< 963 + Vec<jacquard_common::types::string::Nsid<'a>>, 964 + >, 961 965 /// The set of subject types (account, record, etc) this service accepts reports on. 962 966 #[serde(skip_serializing_if = "std::option::Option::is_none")] 963 967 #[serde(borrow)] 964 - pub subject_types: Option<Vec<crate::com_atproto::moderation::SubjectType<'a>>>, 968 + pub subject_types: std::option::Option< 969 + Vec<crate::com_atproto::moderation::SubjectType<'a>>, 970 + >, 965 971 #[serde(borrow)] 966 972 pub uri: jacquard_common::types::string::AtUri<'a>, 967 973 #[serde(skip_serializing_if = "std::option::Option::is_none")] 968 974 #[serde(borrow)] 969 - pub viewer: Option<crate::app_bsky::labeler::LabelerViewerState<'a>>, 975 + pub viewer: std::option::Option<crate::app_bsky::labeler::LabelerViewerState<'a>>, 970 976 } 971 977 972 978 pub mod labeler_view_detailed_state {
+10 -4
crates/jacquard-api/src/app_bsky/labeler/service.rs
··· 21 21 pub created_at: jacquard_common::types::string::Datetime, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 24 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 25 25 #[serde(borrow)] 26 26 pub policies: crate::app_bsky::labeler::LabelerPolicies<'a>, 27 27 /// The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub reason_types: Option<Vec<crate::com_atproto::moderation::ReasonType<'a>>>, 30 + pub reason_types: std::option::Option< 31 + Vec<crate::com_atproto::moderation::ReasonType<'a>>, 32 + >, 31 33 /// Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. 32 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 35 #[serde(borrow)] 34 - pub subject_collections: Option<Vec<jacquard_common::types::string::Nsid<'a>>>, 36 + pub subject_collections: std::option::Option< 37 + Vec<jacquard_common::types::string::Nsid<'a>>, 38 + >, 35 39 /// The set of subject types (account, record, etc) this service accepts reports on. 36 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 41 #[serde(borrow)] 38 - pub subject_types: Option<Vec<crate::com_atproto::moderation::SubjectType<'a>>>, 42 + pub subject_types: std::option::Option< 43 + Vec<crate::com_atproto::moderation::SubjectType<'a>>, 44 + >, 39 45 } 40 46 41 47 pub mod service_state {
+2 -2
crates/jacquard-api/src/app_bsky/notification/list_notifications.rs
··· 248 248 pub is_read: bool, 249 249 #[serde(skip_serializing_if = "std::option::Option::is_none")] 250 250 #[serde(borrow)] 251 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 251 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 252 252 /// The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. 253 253 #[serde(borrow)] 254 254 pub reason: jacquard_common::CowStr<'a>, 255 255 #[serde(skip_serializing_if = "std::option::Option::is_none")] 256 256 #[serde(borrow)] 257 - pub reason_subject: Option<jacquard_common::types::string::AtUri<'a>>, 257 + pub reason_subject: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 258 258 #[serde(borrow)] 259 259 pub record: jacquard_common::types::value::Data<'a>, 260 260 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/app_bsky/notification/register_push.rs
··· 19 19 pub struct RegisterPush<'a> { 20 20 /// Set to true when the actor is age restricted 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub age_restricted: Option<bool>, 22 + pub age_restricted: std::option::Option<bool>, 23 23 #[serde(borrow)] 24 24 pub app_id: jacquard_common::CowStr<'a>, 25 25 #[serde(borrow)]
+9 -9
crates/jacquard-api/src/app_bsky/unspecced.rs
··· 47 47 /// The IP address used when completing the AA flow. 48 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 49 49 #[serde(borrow)] 50 - pub complete_ip: Option<jacquard_common::CowStr<'a>>, 50 + pub complete_ip: std::option::Option<jacquard_common::CowStr<'a>>, 51 51 /// The user agent used when completing the AA flow. 52 52 #[serde(skip_serializing_if = "std::option::Option::is_none")] 53 53 #[serde(borrow)] 54 - pub complete_ua: Option<jacquard_common::CowStr<'a>>, 54 + pub complete_ua: std::option::Option<jacquard_common::CowStr<'a>>, 55 55 /// The date and time of this write operation. 56 56 pub created_at: jacquard_common::types::string::Datetime, 57 57 /// The email used for AA. 58 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 59 59 #[serde(borrow)] 60 - pub email: Option<jacquard_common::CowStr<'a>>, 60 + pub email: std::option::Option<jacquard_common::CowStr<'a>>, 61 61 /// The IP address used when initiating the AA flow. 62 62 #[serde(skip_serializing_if = "std::option::Option::is_none")] 63 63 #[serde(borrow)] 64 - pub init_ip: Option<jacquard_common::CowStr<'a>>, 64 + pub init_ip: std::option::Option<jacquard_common::CowStr<'a>>, 65 65 /// The user agent used when initiating the AA flow. 66 66 #[serde(skip_serializing_if = "std::option::Option::is_none")] 67 67 #[serde(borrow)] 68 - pub init_ua: Option<jacquard_common::CowStr<'a>>, 68 + pub init_ua: std::option::Option<jacquard_common::CowStr<'a>>, 69 69 /// The status of the age assurance process. 70 70 #[serde(borrow)] 71 71 pub status: jacquard_common::CowStr<'a>, ··· 1717 1717 pub struct SkeletonTrend<'a> { 1718 1718 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1719 1719 #[serde(borrow)] 1720 - pub category: Option<jacquard_common::CowStr<'a>>, 1720 + pub category: std::option::Option<jacquard_common::CowStr<'a>>, 1721 1721 #[serde(borrow)] 1722 1722 pub dids: Vec<jacquard_common::types::string::Did<'a>>, 1723 1723 #[serde(borrow)] ··· 1728 1728 pub started_at: jacquard_common::types::string::Datetime, 1729 1729 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1730 1730 #[serde(borrow)] 1731 - pub status: Option<jacquard_common::CowStr<'a>>, 1731 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 1732 1732 #[serde(borrow)] 1733 1733 pub topic: jacquard_common::CowStr<'a>, 1734 1734 } ··· 2645 2645 pub actors: Vec<crate::app_bsky::actor::ProfileViewBasic<'a>>, 2646 2646 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2647 2647 #[serde(borrow)] 2648 - pub category: Option<jacquard_common::CowStr<'a>>, 2648 + pub category: std::option::Option<jacquard_common::CowStr<'a>>, 2649 2649 #[serde(borrow)] 2650 2650 pub display_name: jacquard_common::CowStr<'a>, 2651 2651 #[serde(borrow)] ··· 2654 2654 pub started_at: jacquard_common::types::string::Datetime, 2655 2655 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2656 2656 #[serde(borrow)] 2657 - pub status: Option<jacquard_common::CowStr<'a>>, 2657 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 2658 2658 #[serde(borrow)] 2659 2659 pub topic: jacquard_common::CowStr<'a>, 2660 2660 }
+4 -4
crates/jacquard-api/src/app_bsky/video.rs
··· 23 23 pub struct JobStatus<'a> { 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub blob: Option<jacquard_common::types::blob::BlobRef<'a>>, 26 + pub blob: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 #[serde(borrow)] 28 28 pub did: jacquard_common::types::string::Did<'a>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub error: Option<jacquard_common::CowStr<'a>>, 31 + pub error: std::option::Option<jacquard_common::CowStr<'a>>, 32 32 #[serde(borrow)] 33 33 pub job_id: jacquard_common::CowStr<'a>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub message: Option<jacquard_common::CowStr<'a>>, 36 + pub message: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 /// Progress within the current processing state. 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 - pub progress: Option<i64>, 39 + pub progress: std::option::Option<i64>, 40 40 /// The state of the video processing job. All values not listed as a known value indicate that the job is in process. 41 41 #[serde(borrow)] 42 42 pub state: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/app_ocho/plugin.rs
··· 1127 1127 pub r#type: jacquard_common::CowStr<'a>, 1128 1128 /// The date and time when this asset was last updated. Used to reset the jetstream cache, among other things. 1129 1129 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1130 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 1130 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 1131 1131 } 1132 1132 1133 1133 pub mod asset_state {
+1 -1
crates/jacquard-api/src/app_ocho/plugin/service.rs
··· 20 20 pub struct Service<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub db: Option<crate::app_ocho::plugin::Db<'a>>, 23 + pub db: std::option::Option<crate::app_ocho::plugin::Db<'a>>, 24 24 /// Additional metadata for the plugin, including Expo client and Go configurations. 25 25 #[serde(borrow)] 26 26 pub permissions: Vec<jacquard_common::CowStr<'a>>,
+10 -10
crates/jacquard-api/src/app_rocksky/album.rs
··· 25 25 /// The album art of the album. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub album_art: Option<jacquard_common::types::blob::BlobRef<'a>>, 28 + pub album_art: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 /// The Apple Music link of the album. 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub apple_music_link: Option<jacquard_common::types::string::Uri<'a>>, 32 + pub apple_music_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 33 33 /// The artist of the album. 34 34 #[serde(borrow)] 35 35 pub artist: jacquard_common::CowStr<'a>, ··· 37 37 pub created_at: jacquard_common::types::string::Datetime, 38 38 /// The duration of the album in seconds. 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub duration: Option<i64>, 40 + pub duration: std::option::Option<i64>, 41 41 /// The genre of the album. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub genre: Option<jacquard_common::CowStr<'a>>, 44 + pub genre: std::option::Option<jacquard_common::CowStr<'a>>, 45 45 /// The release date of the album. 46 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 47 - pub release_date: Option<jacquard_common::types::string::Datetime>, 47 + pub release_date: std::option::Option<jacquard_common::types::string::Datetime>, 48 48 /// The Spotify link of the album. 49 49 #[serde(skip_serializing_if = "std::option::Option::is_none")] 50 50 #[serde(borrow)] 51 - pub spotify_link: Option<jacquard_common::types::string::Uri<'a>>, 51 + pub spotify_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 52 52 /// The tags of the album. 53 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 54 54 #[serde(borrow)] 55 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 55 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 56 56 /// The tidal link of the album. 57 57 #[serde(skip_serializing_if = "std::option::Option::is_none")] 58 58 #[serde(borrow)] 59 - pub tidal_link: Option<jacquard_common::types::string::Uri<'a>>, 59 + pub tidal_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 60 60 /// The title of the album. 61 61 #[serde(borrow)] 62 62 pub title: jacquard_common::CowStr<'a>, 63 63 /// The year the album was released. 64 64 #[serde(skip_serializing_if = "std::option::Option::is_none")] 65 - pub year: Option<i64>, 65 + pub year: std::option::Option<i64>, 66 66 /// The YouTube link of the album. 67 67 #[serde(skip_serializing_if = "std::option::Option::is_none")] 68 68 #[serde(borrow)] 69 - pub youtube_link: Option<jacquard_common::types::string::Uri<'a>>, 69 + pub youtube_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 70 70 } 71 71 72 72 pub mod album_state {
+6 -6
crates/jacquard-api/src/app_rocksky/artist.rs
··· 26 26 /// The biography of the artist. 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub bio: Option<jacquard_common::CowStr<'a>>, 29 + pub bio: std::option::Option<jacquard_common::CowStr<'a>>, 30 30 /// The birth date of the artist. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 - pub born: Option<jacquard_common::types::string::Datetime>, 32 + pub born: std::option::Option<jacquard_common::types::string::Datetime>, 33 33 /// The birth place of the artist. 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub born_in: Option<jacquard_common::CowStr<'a>>, 36 + pub born_in: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 /// The date when the artist was created. 38 38 pub created_at: jacquard_common::types::string::Datetime, 39 39 /// The death date of the artist. 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 - pub died: Option<jacquard_common::types::string::Datetime>, 41 + pub died: std::option::Option<jacquard_common::types::string::Datetime>, 42 42 /// The name of the artist. 43 43 #[serde(borrow)] 44 44 pub name: jacquard_common::CowStr<'a>, 45 45 /// The picture of the artist. 46 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 47 47 #[serde(borrow)] 48 - pub picture: Option<jacquard_common::types::blob::BlobRef<'a>>, 48 + pub picture: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 49 49 /// The tags of the artist. 50 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 51 51 #[serde(borrow)] 52 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 52 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 53 53 } 54 54 55 55 pub mod artist_state {
+7 -7
crates/jacquard-api/src/app_rocksky/playlist.rs
··· 24 24 /// The Apple Music link of the playlist. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub apple_music_link: Option<jacquard_common::CowStr<'a>>, 27 + pub apple_music_link: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// The date the playlist was created. 29 29 pub created_at: jacquard_common::types::string::Datetime, 30 30 /// The playlist description. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub description: Option<jacquard_common::CowStr<'a>>, 33 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 /// The name of the playlist. 35 35 #[serde(borrow)] 36 36 pub name: jacquard_common::CowStr<'a>, 37 37 /// The picture of the playlist. 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub picture: Option<jacquard_common::types::blob::BlobRef<'a>>, 40 + pub picture: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 41 41 /// The Spotify link of the playlist. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub spotify_link: Option<jacquard_common::CowStr<'a>>, 44 + pub spotify_link: std::option::Option<jacquard_common::CowStr<'a>>, 45 45 /// The Tidal link of the playlist. 46 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 47 47 #[serde(borrow)] 48 - pub tidal_link: Option<jacquard_common::CowStr<'a>>, 48 + pub tidal_link: std::option::Option<jacquard_common::CowStr<'a>>, 49 49 /// The tracks in the playlist. 50 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 51 51 #[serde(borrow)] 52 - pub tracks: Option<Vec<jacquard_common::types::value::Data<'a>>>, 52 + pub tracks: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 53 53 /// The YouTube link of the playlist. 54 54 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 55 #[serde(borrow)] 56 - pub youtube_link: Option<jacquard_common::CowStr<'a>>, 56 + pub youtube_link: std::option::Option<jacquard_common::CowStr<'a>>, 57 57 } 58 58 59 59 pub mod playlist_state {
+4 -4
crates/jacquard-api/src/app_rocksky/radio.rs
··· 23 23 /// A description of the radio station. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// The genre of the radio station. 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub genre: Option<jacquard_common::CowStr<'a>>, 30 + pub genre: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// The logo of the radio station. 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub logo: Option<jacquard_common::types::blob::BlobRef<'a>>, 34 + pub logo: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 35 35 /// The name of the radio station. 36 36 #[serde(borrow)] 37 37 pub name: jacquard_common::CowStr<'a>, ··· 41 41 /// The website of the radio station. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub website: Option<jacquard_common::types::string::Uri<'a>>, 44 + pub website: std::option::Option<jacquard_common::types::string::Uri<'a>>, 45 45 } 46 46 47 47 pub mod radio_state {
+17 -17
crates/jacquard-api/src/app_rocksky/scrobble.rs
··· 28 28 /// The album art of the song. 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub album_art: Option<jacquard_common::types::blob::BlobRef<'a>>, 31 + pub album_art: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 32 32 /// The album artist of the song. 33 33 #[serde(borrow)] 34 34 pub album_artist: jacquard_common::CowStr<'a>, 35 35 /// The Apple Music link of the song. 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub apple_music_link: Option<jacquard_common::types::string::Uri<'a>>, 38 + pub apple_music_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 39 39 /// The artist of the song. 40 40 #[serde(borrow)] 41 41 pub artist: jacquard_common::CowStr<'a>, 42 42 /// The composer of the song. 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub composer: Option<jacquard_common::CowStr<'a>>, 45 + pub composer: std::option::Option<jacquard_common::CowStr<'a>>, 46 46 /// The copyright message of the song. 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub copyright_message: Option<jacquard_common::CowStr<'a>>, 49 + pub copyright_message: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 /// The date when the song was created. 51 51 pub created_at: jacquard_common::types::string::Datetime, 52 52 /// The disc number of the song in the album. 53 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 54 - pub disc_number: Option<i64>, 54 + pub disc_number: std::option::Option<i64>, 55 55 /// The duration of the song in seconds. 56 56 pub duration: i64, 57 57 /// The genre of the song. 58 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 59 59 #[serde(borrow)] 60 - pub genre: Option<jacquard_common::CowStr<'a>>, 60 + pub genre: std::option::Option<jacquard_common::CowStr<'a>>, 61 61 /// The label of the song. 62 62 #[serde(skip_serializing_if = "std::option::Option::is_none")] 63 63 #[serde(borrow)] 64 - pub label: Option<jacquard_common::CowStr<'a>>, 64 + pub label: std::option::Option<jacquard_common::CowStr<'a>>, 65 65 /// The lyrics of the song. 66 66 #[serde(skip_serializing_if = "std::option::Option::is_none")] 67 67 #[serde(borrow)] 68 - pub lyrics: Option<jacquard_common::CowStr<'a>>, 68 + pub lyrics: std::option::Option<jacquard_common::CowStr<'a>>, 69 69 /// The MusicBrainz ID of the song. 70 70 #[serde(skip_serializing_if = "std::option::Option::is_none")] 71 71 #[serde(borrow)] 72 - pub mbid: Option<jacquard_common::CowStr<'a>>, 72 + pub mbid: std::option::Option<jacquard_common::CowStr<'a>>, 73 73 /// The release date of the song. 74 74 #[serde(skip_serializing_if = "std::option::Option::is_none")] 75 - pub release_date: Option<jacquard_common::types::string::Datetime>, 75 + pub release_date: std::option::Option<jacquard_common::types::string::Datetime>, 76 76 /// The Spotify link of the song. 77 77 #[serde(skip_serializing_if = "std::option::Option::is_none")] 78 78 #[serde(borrow)] 79 - pub spotify_link: Option<jacquard_common::types::string::Uri<'a>>, 79 + pub spotify_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 80 80 /// The tags of the song. 81 81 #[serde(skip_serializing_if = "std::option::Option::is_none")] 82 82 #[serde(borrow)] 83 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 83 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 84 84 /// The Tidal link of the song. 85 85 #[serde(skip_serializing_if = "std::option::Option::is_none")] 86 86 #[serde(borrow)] 87 - pub tidal_link: Option<jacquard_common::types::string::Uri<'a>>, 87 + pub tidal_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 88 88 /// The title of the song. 89 89 #[serde(borrow)] 90 90 pub title: jacquard_common::CowStr<'a>, 91 91 /// The track number of the song in the album. 92 92 #[serde(skip_serializing_if = "std::option::Option::is_none")] 93 - pub track_number: Option<i64>, 93 + pub track_number: std::option::Option<i64>, 94 94 /// Informations about the song 95 95 #[serde(skip_serializing_if = "std::option::Option::is_none")] 96 96 #[serde(borrow)] 97 - pub wiki: Option<jacquard_common::CowStr<'a>>, 97 + pub wiki: std::option::Option<jacquard_common::CowStr<'a>>, 98 98 /// The year the song was released. 99 99 #[serde(skip_serializing_if = "std::option::Option::is_none")] 100 - pub year: Option<i64>, 100 + pub year: std::option::Option<i64>, 101 101 /// The YouTube link of the song. 102 102 #[serde(skip_serializing_if = "std::option::Option::is_none")] 103 103 #[serde(borrow)] 104 - pub youtube_link: Option<jacquard_common::types::string::Uri<'a>>, 104 + pub youtube_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 105 105 } 106 106 107 107 pub mod scrobble_state {
+1 -1
crates/jacquard-api/src/app_rocksky/shout.rs
··· 35 35 pub message: jacquard_common::CowStr<'a>, 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub parent: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 38 + pub parent: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 39 39 #[serde(borrow)] 40 40 pub subject: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 41 41 }
+17 -17
crates/jacquard-api/src/app_rocksky/song.rs
··· 28 28 /// The album art of the song. 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub album_art: Option<jacquard_common::types::blob::BlobRef<'a>>, 31 + pub album_art: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 32 32 /// The album artist of the song. 33 33 #[serde(borrow)] 34 34 pub album_artist: jacquard_common::CowStr<'a>, 35 35 /// The Apple Music link of the song. 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub apple_music_link: Option<jacquard_common::types::string::Uri<'a>>, 38 + pub apple_music_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 39 39 /// The artist of the song. 40 40 #[serde(borrow)] 41 41 pub artist: jacquard_common::CowStr<'a>, 42 42 /// The composer of the song. 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub composer: Option<jacquard_common::CowStr<'a>>, 45 + pub composer: std::option::Option<jacquard_common::CowStr<'a>>, 46 46 /// The copyright message of the song. 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub copyright_message: Option<jacquard_common::CowStr<'a>>, 49 + pub copyright_message: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 /// The date when the song was created. 51 51 pub created_at: jacquard_common::types::string::Datetime, 52 52 /// The disc number of the song in the album. 53 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 54 - pub disc_number: Option<i64>, 54 + pub disc_number: std::option::Option<i64>, 55 55 /// The duration of the song in seconds. 56 56 pub duration: i64, 57 57 /// The genre of the song. 58 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 59 59 #[serde(borrow)] 60 - pub genre: Option<jacquard_common::CowStr<'a>>, 60 + pub genre: std::option::Option<jacquard_common::CowStr<'a>>, 61 61 /// The label of the song. 62 62 #[serde(skip_serializing_if = "std::option::Option::is_none")] 63 63 #[serde(borrow)] 64 - pub label: Option<jacquard_common::CowStr<'a>>, 64 + pub label: std::option::Option<jacquard_common::CowStr<'a>>, 65 65 /// The lyrics of the song. 66 66 #[serde(skip_serializing_if = "std::option::Option::is_none")] 67 67 #[serde(borrow)] 68 - pub lyrics: Option<jacquard_common::CowStr<'a>>, 68 + pub lyrics: std::option::Option<jacquard_common::CowStr<'a>>, 69 69 /// The MusicBrainz ID of the song. 70 70 #[serde(skip_serializing_if = "std::option::Option::is_none")] 71 71 #[serde(borrow)] 72 - pub mbid: Option<jacquard_common::CowStr<'a>>, 72 + pub mbid: std::option::Option<jacquard_common::CowStr<'a>>, 73 73 /// The release date of the song. 74 74 #[serde(skip_serializing_if = "std::option::Option::is_none")] 75 - pub release_date: Option<jacquard_common::types::string::Datetime>, 75 + pub release_date: std::option::Option<jacquard_common::types::string::Datetime>, 76 76 /// The Spotify link of the song. 77 77 #[serde(skip_serializing_if = "std::option::Option::is_none")] 78 78 #[serde(borrow)] 79 - pub spotify_link: Option<jacquard_common::types::string::Uri<'a>>, 79 + pub spotify_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 80 80 /// The tags of the song. 81 81 #[serde(skip_serializing_if = "std::option::Option::is_none")] 82 82 #[serde(borrow)] 83 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 83 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 84 84 /// The Tidal link of the song. 85 85 #[serde(skip_serializing_if = "std::option::Option::is_none")] 86 86 #[serde(borrow)] 87 - pub tidal_link: Option<jacquard_common::types::string::Uri<'a>>, 87 + pub tidal_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 88 88 /// The title of the song. 89 89 #[serde(borrow)] 90 90 pub title: jacquard_common::CowStr<'a>, 91 91 /// The track number of the song in the album. 92 92 #[serde(skip_serializing_if = "std::option::Option::is_none")] 93 - pub track_number: Option<i64>, 93 + pub track_number: std::option::Option<i64>, 94 94 /// Informations about the song 95 95 #[serde(skip_serializing_if = "std::option::Option::is_none")] 96 96 #[serde(borrow)] 97 - pub wiki: Option<jacquard_common::CowStr<'a>>, 97 + pub wiki: std::option::Option<jacquard_common::CowStr<'a>>, 98 98 /// The year the song was released. 99 99 #[serde(skip_serializing_if = "std::option::Option::is_none")] 100 - pub year: Option<i64>, 100 + pub year: std::option::Option<i64>, 101 101 /// The YouTube link of the song. 102 102 #[serde(skip_serializing_if = "std::option::Option::is_none")] 103 103 #[serde(borrow)] 104 - pub youtube_link: Option<jacquard_common::types::string::Uri<'a>>, 104 + pub youtube_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 105 105 } 106 106 107 107 pub mod song_state {
+3 -3
crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs
··· 23 23 /// The detailed review text 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// Rating score from 1 to 5 28 28 pub rating: i64, 29 29 /// Whether this review is from the service provider or consumer 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub reviewer_role: Option<jacquard_common::CowStr<'a>>, 32 + pub reviewer_role: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// The title of the review 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub title: Option<jacquard_common::CowStr<'a>>, 36 + pub title: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 /// AT URI reference to the transaction record (at://did/beauty.cybernetic.trustcow.transaction/rkey) 38 38 #[serde(borrow)] 39 39 pub transaction: jacquard_common::CowStr<'a>,
+3 -3
crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs
··· 21 21 /// Transaction amount (optional, in whatever currency applies) 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub amount: Option<jacquard_common::CowStr<'a>>, 24 + pub amount: std::option::Option<jacquard_common::CowStr<'a>>, 25 25 /// When the transaction occurred 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 /// Currency code (optional, e.g. USD, EUR, BTC) 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub currency: Option<jacquard_common::CowStr<'a>>, 30 + pub currency: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// Description of the service or product transacted 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub description: Option<jacquard_common::CowStr<'a>>, 34 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 35 35 /// DID of the service consumer identity 36 36 #[serde(borrow)] 37 37 pub service_consumer: jacquard_common::CowStr<'a>,
+4 -4
crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs
··· 23 23 /// Optional description explaining the basis for this warrant 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// Optional expiration date for this warrant 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 29 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 30 30 /// DID of the identity being warranted for 31 31 #[serde(borrow)] 32 32 pub subject: jacquard_common::CowStr<'a>, 33 33 /// Level of trust being warranted 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub trust_level: Option<jacquard_common::CowStr<'a>>, 36 + pub trust_level: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 /// Type of warrant being provided 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub warrant_type: Option<jacquard_common::CowStr<'a>>, 40 + pub warrant_type: std::option::Option<jacquard_common::CowStr<'a>>, 41 41 } 42 42 43 43 pub mod warrant_state {
+1 -1
crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs
··· 21 21 /// Pre-rendered HTML content of the embedded post 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub html: Option<jacquard_common::CowStr<'a>>, 24 + pub html: std::option::Option<jacquard_common::CowStr<'a>>, 25 25 /// URL of the Bluesky post to embed 26 26 #[serde(borrow)] 27 27 pub url: jacquard_common::types::string::Uri<'a>,
+1 -1
crates/jacquard-api/src/blog_pckt/block/heading.rs
··· 271 271 /// Inline content of the heading (text with optional formatting) 272 272 #[serde(skip_serializing_if = "std::option::Option::is_none")] 273 273 #[serde(borrow)] 274 - pub content: Option<Vec<HeadingContentItem<'a>>>, 274 + pub content: std::option::Option<Vec<HeadingContentItem<'a>>>, 275 275 } 276 276 277 277 pub mod heading_state {
+3 -1
crates/jacquard-api/src/blog_pckt/block/ordered_list.rs
··· 20 20 /// Optional attributes for the ordered list 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub attrs: Option<crate::blog_pckt::block::ordered_list::OrderedListAttrs<'a>>, 23 + pub attrs: std::option::Option< 24 + crate::blog_pckt::block::ordered_list::OrderedListAttrs<'a>, 25 + >, 24 26 /// Array of list items 25 27 #[serde(borrow)] 26 28 pub content: Vec<crate::blog_pckt::block::list_item::ListItem<'a>>,
+6 -6
crates/jacquard-api/src/blog_pckt/blog.rs
··· 19 19 pub struct Blog<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub description: Option<jacquard_common::CowStr<'a>>, 22 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub icon: Option<jacquard_common::types::blob::BlobRef<'a>>, 25 + pub icon: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 26 26 #[serde(borrow)] 27 27 pub name: jacquard_common::CowStr<'a>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub rss: Option<jacquard_common::types::string::Uri<'a>>, 30 + pub rss: std::option::Option<jacquard_common::types::string::Uri<'a>>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub theme: Option<crate::blog_pckt::blog::Theme<'a>>, 33 + pub theme: std::option::Option<crate::blog_pckt::blog::Theme<'a>>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 35 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub url: Option<jacquard_common::types::string::Uri<'a>>, 38 + pub url: std::option::Option<jacquard_common::types::string::Uri<'a>>, 39 39 } 40 40 41 41 pub mod blog_state {
+6 -6
crates/jacquard-api/src/blog_pckt/document.rs
··· 26 26 /// Plain text representation of the document content for search and preview 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub body_plain: Option<jacquard_common::CowStr<'a>>, 29 + pub body_plain: std::option::Option<jacquard_common::CowStr<'a>>, 30 30 /// Optional cover/featured image (10MB max) 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub cover: Option<jacquard_common::types::blob::BlobRef<'a>>, 33 + pub cover: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 34 34 /// Blob references for images used within the document content 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub images: Option<Vec<jacquard_common::types::blob::BlobRef<'a>>>, 37 + pub images: std::option::Option<Vec<jacquard_common::types::blob::BlobRef<'a>>>, 38 38 /// Timestamp when the document was first published 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub published_at: Option<jacquard_common::types::string::Datetime>, 40 + pub published_at: std::option::Option<jacquard_common::types::string::Datetime>, 41 41 /// Optional tags for categorization and discovery 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 44 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 45 45 /// Document title/headline 46 46 #[serde(borrow)] 47 47 pub title: jacquard_common::CowStr<'a>, 48 48 /// Timestamp when the document was last modified 49 49 #[serde(skip_serializing_if = "std::option::Option::is_none")] 50 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 50 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 51 51 /// Canonical URL where this document is published 52 52 #[serde(borrow)] 53 53 pub url: jacquard_common::types::string::Uri<'a>,
+3 -3
crates/jacquard-api/src/blog_pckt/mark/link.rs
··· 24 24 /// Defines the relationship between the current document and the linked resource (e.g., nofollow, noopener) 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub rel: Option<jacquard_common::CowStr<'a>>, 27 + pub rel: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// Specifies where to open the linked document (e.g., _blank, _self) 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub target: Option<jacquard_common::CowStr<'a>>, 31 + pub target: std::option::Option<jacquard_common::CowStr<'a>>, 32 32 /// Additional information about the link, typically shown as a tooltip on hover 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub title: Option<jacquard_common::CowStr<'a>>, 35 + pub title: std::option::Option<jacquard_common::CowStr<'a>>, 36 36 } 37 37 38 38 pub mod link_attrs_state {
+6 -6
crates/jacquard-api/src/blog_pckt/post.rs
··· 23 23 pub blog: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub body_plain: Option<jacquard_common::CowStr<'a>>, 26 + pub body_plain: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub cover: Option<jacquard_common::types::blob::BlobRef<'a>>, 29 + pub cover: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub images: Option<Vec<jacquard_common::types::blob::BlobRef<'a>>>, 32 + pub images: std::option::Option<Vec<jacquard_common::types::blob::BlobRef<'a>>>, 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 - pub published_at: Option<jacquard_common::types::string::Datetime>, 34 + pub published_at: std::option::Option<jacquard_common::types::string::Datetime>, 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 37 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 38 38 #[serde(borrow)] 39 39 pub title: jacquard_common::CowStr<'a>, 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 41 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 42 42 #[serde(borrow)] 43 43 pub url: jacquard_common::types::string::Uri<'a>, 44 44 }
+6 -6
crates/jacquard-api/src/blog_pckt/publication.rs
··· 21 21 /// Base URL path for the publication (e.g., https://blog.pckt.blog) 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub base_path: Option<jacquard_common::types::string::Uri<'a>>, 24 + pub base_path: std::option::Option<jacquard_common::types::string::Uri<'a>>, 25 25 /// Timestamp when the publication was first created 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 /// Publication description or tagline 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// Extension objects (open union) for additional features 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub extensions: Option<Vec<jacquard_common::types::value::Data<'a>>>, 34 + pub extensions: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 35 35 /// Publication icon/avatar image 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub icon: Option<jacquard_common::types::blob::BlobRef<'a>>, 38 + pub icon: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 39 39 /// Publication name/title 40 40 #[serde(borrow)] 41 41 pub name: jacquard_common::CowStr<'a>, 42 42 /// Theme configuration as an open union; accepts blog.pckt.theme and future types. 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub theme: Option<crate::blog_pckt::theme::Theme<'a>>, 45 + pub theme: std::option::Option<crate::blog_pckt::theme::Theme<'a>>, 46 46 /// Timestamp when the publication was last updated (optional) 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 48 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 49 49 } 50 50 51 51 pub mod publication_state {
+1 -1
crates/jacquard-api/src/blog_pckt/theme.rs
··· 24 24 /// Font family name (optional) 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub font: Option<jacquard_common::CowStr<'a>>, 27 + pub font: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// Light mode color palette 29 29 #[serde(borrow)] 30 30 pub light: crate::blog_pckt::theme::Palette<'a>,
+4 -2
crates/jacquard-api/src/blue__2048/verification/game.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Game<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub created_at: Option<jacquard_common::types::string::Datetime>, 22 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 /// This is the record that holds the publicly verifiable signature of a game record 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub verified_ref: Option<crate::blue__2048::verification::VerificationRef<'a>>, 26 + pub verified_ref: std::option::Option< 27 + crate::blue__2048::verification::VerificationRef<'a>, 28 + >, 27 29 } 28 30 29 31 pub mod game_state {
+4 -2
crates/jacquard-api/src/blue__2048/verification/stats.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Stats<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub created_at: Option<jacquard_common::types::string::Datetime>, 22 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 /// This is the record that holds the publicly verifiable signature of a stats record 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub verified_ref: Option<crate::blue__2048::verification::VerificationRef<'a>>, 26 + pub verified_ref: std::option::Option< 27 + crate::blue__2048::verification::VerificationRef<'a>, 28 + >, 27 29 } 28 30 29 31 pub mod stats_state {
+4 -4
crates/jacquard-api/src/blue_rito/feed/bookmark.rs
··· 392 392 /// OGP Description 393 393 #[serde(skip_serializing_if = "std::option::Option::is_none")] 394 394 #[serde(borrow)] 395 - pub ogp_description: Option<jacquard_common::CowStr<'a>>, 395 + pub ogp_description: std::option::Option<jacquard_common::CowStr<'a>>, 396 396 /// OGP Image Uri 397 397 #[serde(skip_serializing_if = "std::option::Option::is_none")] 398 398 #[serde(borrow)] 399 - pub ogp_image: Option<jacquard_common::types::string::Uri<'a>>, 399 + pub ogp_image: std::option::Option<jacquard_common::types::string::Uri<'a>>, 400 400 /// OGP Title 401 401 #[serde(skip_serializing_if = "std::option::Option::is_none")] 402 402 #[serde(borrow)] 403 - pub ogp_title: Option<jacquard_common::CowStr<'a>>, 403 + pub ogp_title: std::option::Option<jacquard_common::CowStr<'a>>, 404 404 #[serde(borrow)] 405 405 pub subject: jacquard_common::types::string::Uri<'a>, 406 406 /// Tags describing the uri's description (max 10 tags, 25 charactors) 407 407 #[serde(skip_serializing_if = "std::option::Option::is_none")] 408 408 #[serde(borrow)] 409 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 409 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 410 410 } 411 411 412 412 pub mod bookmark_state {
+1 -1
crates/jacquard-api/src/blue_rito/service/get_schema.rs
··· 19 19 pub struct Langs<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub comment: Option<jacquard_common::CowStr<'a>>, 22 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(borrow)] 24 24 pub lang: jacquard_common::CowStr<'a>, 25 25 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/blue_zio/atfile/lock.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Lock<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub lock: Option<bool>, 22 + pub lock: std::option::Option<bool>, 23 23 } 24 24 25 25 pub mod lock_state {
+11 -11
crates/jacquard-api/src/buzz_bookhive.rs
··· 1444 1444 pub struct Profile<'a> { 1445 1445 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1446 1446 #[serde(borrow)] 1447 - pub avatar: Option<jacquard_common::CowStr<'a>>, 1447 + pub avatar: std::option::Option<jacquard_common::CowStr<'a>>, 1448 1448 pub books_read: i64, 1449 1449 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1450 1450 #[serde(borrow)] 1451 - pub description: Option<jacquard_common::CowStr<'a>>, 1451 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 1452 1452 #[serde(borrow)] 1453 1453 pub display_name: jacquard_common::CowStr<'a>, 1454 1454 #[serde(borrow)] ··· 1797 1797 pub review: jacquard_common::CowStr<'a>, 1798 1798 /// The number of stars given to the book 1799 1799 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1800 - pub stars: Option<i64>, 1800 + pub stars: std::option::Option<i64>, 1801 1801 } 1802 1802 1803 1803 pub mod review_state { ··· 2067 2067 /// Cover image of the book 2068 2068 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2069 2069 #[serde(borrow)] 2070 - pub cover: Option<jacquard_common::CowStr<'a>>, 2070 + pub cover: std::option::Option<jacquard_common::CowStr<'a>>, 2071 2071 pub created_at: jacquard_common::types::string::Datetime, 2072 2072 /// Book description/summary 2073 2073 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2074 2074 #[serde(borrow)] 2075 - pub description: Option<jacquard_common::CowStr<'a>>, 2075 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 2076 2076 /// The date the user finished reading the book 2077 2077 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2078 - pub finished_at: Option<jacquard_common::types::string::Datetime>, 2078 + pub finished_at: std::option::Option<jacquard_common::types::string::Datetime>, 2079 2079 /// The book's hive id, used to correlate user's books with the hive 2080 2080 #[serde(borrow)] 2081 2081 pub hive_id: jacquard_common::CowStr<'a>, 2082 2082 /// Average rating (0-1000) 2083 2083 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2084 - pub rating: Option<i64>, 2084 + pub rating: std::option::Option<i64>, 2085 2085 /// The book's review 2086 2086 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2087 2087 #[serde(borrow)] 2088 - pub review: Option<jacquard_common::CowStr<'a>>, 2088 + pub review: std::option::Option<jacquard_common::CowStr<'a>>, 2089 2089 /// Number of stars given to the book (1-10) which will be mapped to 1-5 stars 2090 2090 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2091 - pub stars: Option<i64>, 2091 + pub stars: std::option::Option<i64>, 2092 2092 /// The date the user started reading the book 2093 2093 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2094 - pub started_at: Option<jacquard_common::types::string::Datetime>, 2094 + pub started_at: std::option::Option<jacquard_common::types::string::Datetime>, 2095 2095 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2096 2096 #[serde(borrow)] 2097 - pub status: Option<jacquard_common::CowStr<'a>>, 2097 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 2098 2098 /// Cover image of the book 2099 2099 #[serde(borrow)] 2100 2100 pub thumbnail: jacquard_common::CowStr<'a>,
+6 -6
crates/jacquard-api/src/buzz_bookhive/book.rs
··· 24 24 /// Cover image of the book 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub cover: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 + pub cover: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 28 28 pub created_at: jacquard_common::types::string::Datetime, 29 29 /// The date the user finished reading the book 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 - pub finished_at: Option<jacquard_common::types::string::Datetime>, 31 + pub finished_at: std::option::Option<jacquard_common::types::string::Datetime>, 32 32 /// The book's hive id, used to correlate user's books with the hive 33 33 #[serde(borrow)] 34 34 pub hive_id: jacquard_common::CowStr<'a>, 35 35 /// The book's review 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub review: Option<jacquard_common::CowStr<'a>>, 38 + pub review: std::option::Option<jacquard_common::CowStr<'a>>, 39 39 /// Number of stars given to the book (1-10) which will be mapped to 1-5 stars 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 - pub stars: Option<i64>, 41 + pub stars: std::option::Option<i64>, 42 42 /// The date the user started reading the book 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 - pub started_at: Option<jacquard_common::types::string::Datetime>, 44 + pub started_at: std::option::Option<jacquard_common::types::string::Datetime>, 45 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 46 46 #[serde(borrow)] 47 - pub status: Option<jacquard_common::CowStr<'a>>, 47 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 48 48 /// The title of the book 49 49 #[serde(borrow)] 50 50 pub title: jacquard_common::CowStr<'a>,
+7 -7
crates/jacquard-api/src/buzz_bookhive/hive_book.rs
··· 24 24 /// URL to full-size cover image 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub cover: Option<jacquard_common::CowStr<'a>>, 27 + pub cover: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 pub created_at: jacquard_common::types::string::Datetime, 29 29 /// Book description/summary 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub description: Option<jacquard_common::CowStr<'a>>, 32 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// The book's hive id, used to correlate user's books with the hive 34 34 #[serde(borrow)] 35 35 pub id: jacquard_common::CowStr<'a>, 36 36 /// Average rating (0-1000) 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 - pub rating: Option<i64>, 38 + pub rating: std::option::Option<i64>, 39 39 /// Number of ratings 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 - pub ratings_count: Option<i64>, 41 + pub ratings_count: std::option::Option<i64>, 42 42 /// The source service name (e.g. Goodreads) 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub source: Option<jacquard_common::CowStr<'a>>, 45 + pub source: std::option::Option<jacquard_common::CowStr<'a>>, 46 46 /// ID of the book in the source service 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub source_id: Option<jacquard_common::CowStr<'a>>, 49 + pub source_id: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 /// URL to the book on the source service 51 51 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 52 #[serde(borrow)] 53 - pub source_url: Option<jacquard_common::CowStr<'a>>, 53 + pub source_url: std::option::Option<jacquard_common::CowStr<'a>>, 54 54 /// URL to thumbnail image 55 55 #[serde(borrow)] 56 56 pub thumbnail: jacquard_common::CowStr<'a>,
+7 -7
crates/jacquard-api/src/chat_bsky/actor.rs
··· 23 23 pub struct ProfileViewBasic<'a> { 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub associated: Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 26 + pub associated: std::option::Option<crate::app_bsky::actor::ProfileAssociated<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 29 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 30 30 /// Set to true when the actor cannot actively participate in conversations 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 - pub chat_disabled: Option<bool>, 32 + pub chat_disabled: std::option::Option<bool>, 33 33 #[serde(borrow)] 34 34 pub did: jacquard_common::types::string::Did<'a>, 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub display_name: Option<jacquard_common::CowStr<'a>>, 37 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 38 38 #[serde(borrow)] 39 39 pub handle: jacquard_common::types::string::Handle<'a>, 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[serde(borrow)] 42 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 42 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub verification: Option<crate::app_bsky::actor::VerificationState<'a>>, 45 + pub verification: std::option::Option<crate::app_bsky::actor::VerificationState<'a>>, 46 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 47 47 #[serde(borrow)] 48 - pub viewer: Option<crate::app_bsky::actor::ViewerState<'a>>, 48 + pub viewer: std::option::Option<crate::app_bsky::actor::ViewerState<'a>>, 49 49 } 50 50 51 51 pub mod profile_view_basic_state {
+8 -6
crates/jacquard-api/src/chat_bsky/convo.rs
··· 39 39 pub id: jacquard_common::CowStr<'a>, 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[serde(borrow)] 42 - pub last_message: Option<ConvoViewLastMessage<'a>>, 42 + pub last_message: std::option::Option<ConvoViewLastMessage<'a>>, 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub last_reaction: Option<crate::chat_bsky::convo::MessageAndReactionView<'a>>, 45 + pub last_reaction: std::option::Option< 46 + crate::chat_bsky::convo::MessageAndReactionView<'a>, 47 + >, 46 48 #[serde(borrow)] 47 49 pub members: Vec<crate::chat_bsky::actor::ProfileViewBasic<'a>>, 48 50 pub muted: bool, ··· 50 52 pub rev: jacquard_common::CowStr<'a>, 51 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 54 #[serde(borrow)] 53 - pub status: Option<jacquard_common::CowStr<'a>>, 55 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 54 56 pub unread_count: i64, 55 57 } 56 58 ··· 3781 3783 pub struct MessageView<'a> { 3782 3784 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3783 3785 #[serde(borrow)] 3784 - pub embed: Option<crate::app_bsky::embed::record::View<'a>>, 3786 + pub embed: std::option::Option<crate::app_bsky::embed::record::View<'a>>, 3785 3787 /// Annotations of text (mentions, URLs, hashtags, etc) 3786 3788 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3787 3789 #[serde(borrow)] 3788 - pub facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 3790 + pub facets: std::option::Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 3789 3791 #[serde(borrow)] 3790 3792 pub id: jacquard_common::CowStr<'a>, 3791 3793 /// Reactions to this message, in ascending order of creation time. 3792 3794 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3793 3795 #[serde(borrow)] 3794 - pub reactions: Option<Vec<crate::chat_bsky::convo::ReactionView<'a>>>, 3796 + pub reactions: std::option::Option<Vec<crate::chat_bsky::convo::ReactionView<'a>>>, 3795 3797 #[serde(borrow)] 3796 3798 pub rev: jacquard_common::CowStr<'a>, 3797 3799 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs
··· 22 22 pub allow_access: bool, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub r#ref: Option<jacquard_common::CowStr<'a>>, 25 + pub r#ref: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 } 27 27 28 28 pub mod update_actor_access_state {
+3 -1
crates/jacquard-api/src/club_stellz/evm/address_control.rs
··· 18 18 #[serde(rename_all = "camelCase")] 19 19 pub struct AddressControl<'a> { 20 20 /// Ethereum address as bytes (20 bytes) 21 + #[serde(with = "jacquard_common::serde_bytes_helper")] 21 22 pub address: bytes::Bytes, 22 23 /// List of all Chain IDs (besides the one in the sign-in message, though you can include it) that the holder of this address is also active on & accepts tokens thru. 23 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub also_on: Option<Vec<i64>>, 25 + pub also_on: std::option::Option<Vec<i64>>, 25 26 /// Sign in With Ethereum message signature as bytes 27 + #[serde(with = "jacquard_common::serde_bytes_helper")] 26 28 pub signature: bytes::Bytes, 27 29 #[serde(borrow)] 28 30 pub siwe: crate::club_stellz::evm::address_control::SiweMessage<'a>,
+17 -11
crates/jacquard-api/src/com_atproto/admin.rs
··· 34 34 #[serde(rename_all = "camelCase")] 35 35 pub struct AccountView<'a> { 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 - pub deactivated_at: Option<jacquard_common::types::string::Datetime>, 37 + pub deactivated_at: std::option::Option<jacquard_common::types::string::Datetime>, 38 38 #[serde(borrow)] 39 39 pub did: jacquard_common::types::string::Did<'a>, 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[serde(borrow)] 42 - pub email: Option<jacquard_common::CowStr<'a>>, 42 + pub email: std::option::Option<jacquard_common::CowStr<'a>>, 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 - pub email_confirmed_at: Option<jacquard_common::types::string::Datetime>, 44 + pub email_confirmed_at: std::option::Option< 45 + jacquard_common::types::string::Datetime, 46 + >, 45 47 #[serde(borrow)] 46 48 pub handle: jacquard_common::types::string::Handle<'a>, 47 49 pub indexed_at: jacquard_common::types::string::Datetime, 48 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 49 51 #[serde(borrow)] 50 - pub invite_note: Option<jacquard_common::CowStr<'a>>, 52 + pub invite_note: std::option::Option<jacquard_common::CowStr<'a>>, 51 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 54 #[serde(borrow)] 53 - pub invited_by: Option<crate::com_atproto::server::InviteCode<'a>>, 55 + pub invited_by: std::option::Option<crate::com_atproto::server::InviteCode<'a>>, 54 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 57 #[serde(borrow)] 56 - pub invites: Option<Vec<crate::com_atproto::server::InviteCode<'a>>>, 58 + pub invites: std::option::Option<Vec<crate::com_atproto::server::InviteCode<'a>>>, 57 59 #[serde(skip_serializing_if = "std::option::Option::is_none")] 58 - pub invites_disabled: Option<bool>, 60 + pub invites_disabled: std::option::Option<bool>, 59 61 #[serde(skip_serializing_if = "std::option::Option::is_none")] 60 62 #[serde(borrow)] 61 - pub related_records: Option<Vec<jacquard_common::types::value::Data<'a>>>, 63 + pub related_records: std::option::Option< 64 + Vec<jacquard_common::types::value::Data<'a>>, 65 + >, 62 66 #[serde(skip_serializing_if = "std::option::Option::is_none")] 63 67 #[serde(borrow)] 64 - pub threat_signatures: Option<Vec<crate::com_atproto::admin::ThreatSignature<'a>>>, 68 + pub threat_signatures: std::option::Option< 69 + Vec<crate::com_atproto::admin::ThreatSignature<'a>>, 70 + >, 65 71 } 66 72 67 73 pub mod account_view_state { ··· 888 894 pub did: jacquard_common::types::string::Did<'a>, 889 895 #[serde(skip_serializing_if = "std::option::Option::is_none")] 890 896 #[serde(borrow)] 891 - pub record_uri: Option<jacquard_common::types::string::AtUri<'a>>, 897 + pub record_uri: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 892 898 } 893 899 894 900 pub mod repo_blob_ref_state { ··· 1223 1229 pub applied: bool, 1224 1230 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1225 1231 #[serde(borrow)] 1226 - pub r#ref: Option<jacquard_common::CowStr<'a>>, 1232 + pub r#ref: std::option::Option<jacquard_common::CowStr<'a>>, 1227 1233 } 1228 1234 1229 1235 pub mod status_attr_state {
+1 -1
crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs
··· 22 22 /// Optional reason for disabled invites. 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub note: Option<jacquard_common::CowStr<'a>>, 25 + pub note: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 } 27 27 28 28 pub mod disable_account_invites_state {
+1 -1
crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs
··· 22 22 /// Optional reason for enabled invites. 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub note: Option<jacquard_common::CowStr<'a>>, 25 + pub note: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 } 27 27 28 28 pub mod enable_account_invites_state {
+2 -2
crates/jacquard-api/src/com_atproto/admin/send_email.rs
··· 20 20 /// Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub comment: Option<jacquard_common::CowStr<'a>>, 23 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 #[serde(borrow)] 25 25 pub content: jacquard_common::CowStr<'a>, 26 26 #[serde(borrow)] ··· 29 29 pub sender_did: jacquard_common::types::string::Did<'a>, 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub subject: Option<jacquard_common::CowStr<'a>>, 32 + pub subject: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 } 34 34 35 35 pub mod send_email_state {
+2 -2
crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs
··· 19 19 pub struct UpdateSubjectStatus<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub deactivated: Option<crate::com_atproto::admin::StatusAttr<'a>>, 22 + pub deactivated: std::option::Option<crate::com_atproto::admin::StatusAttr<'a>>, 23 23 #[serde(borrow)] 24 24 pub subject: UpdateSubjectStatusSubject<'a>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub takedown: Option<crate::com_atproto::admin::StatusAttr<'a>>, 27 + pub takedown: std::option::Option<crate::com_atproto::admin::StatusAttr<'a>>, 28 28 } 29 29 30 30 pub mod update_subject_status_state {
+8 -7
crates/jacquard-api/src/com_atproto/label.rs
··· 26 26 /// Optionally, CID specifying the specific version of 'uri' resource this label applies to. 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub cid: Option<jacquard_common::types::string::Cid<'a>>, 29 + pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 30 30 /// Timestamp when this label was created. 31 31 pub cts: jacquard_common::types::string::Datetime, 32 32 /// Timestamp at which this label expires (no longer applies). 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 - pub exp: Option<jacquard_common::types::string::Datetime>, 34 + pub exp: std::option::Option<jacquard_common::types::string::Datetime>, 35 35 /// If true, this is a negation label, overwriting a previous label. 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 - pub neg: Option<bool>, 37 + pub neg: std::option::Option<bool>, 38 38 /// Signature of dag-cbor encoded label. 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub sig: Option<bytes::Bytes>, 40 + #[serde(with = "jacquard_common::opt_serde_bytes_helper")] 41 + pub sig: std::option::Option<bytes::Bytes>, 41 42 /// DID of the actor who created this label. 42 43 #[serde(borrow)] 43 44 pub src: jacquard_common::types::string::Did<'a>, ··· 49 50 pub val: jacquard_common::CowStr<'a>, 50 51 /// The AT Protocol version of the label object. 51 52 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 - pub ver: Option<i64>, 53 + pub ver: std::option::Option<i64>, 53 54 } 54 55 55 56 pub mod label_state { ··· 1024 1025 pub struct LabelValueDefinition<'a> { 1025 1026 /// Does the user need to have adult content enabled in order to configure this label? 1026 1027 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1027 - pub adult_only: Option<bool>, 1028 + pub adult_only: std::option::Option<bool>, 1028 1029 /// What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. 1029 1030 #[serde(borrow)] 1030 1031 pub blurs: jacquard_common::CowStr<'a>, 1031 1032 /// The default setting for this label. 1032 1033 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1033 1034 #[serde(borrow)] 1034 - pub default_setting: Option<jacquard_common::CowStr<'a>>, 1035 + pub default_setting: std::option::Option<jacquard_common::CowStr<'a>>, 1035 1036 /// The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+). 1036 1037 #[serde(borrow)] 1037 1038 pub identifier: jacquard_common::CowStr<'a>,
+4 -2
crates/jacquard-api/src/com_atproto/moderation/create_report.rs
··· 19 19 pub struct CreateReport<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub mod_tool: Option<crate::com_atproto::moderation::create_report::ModTool<'a>>, 22 + pub mod_tool: std::option::Option< 23 + crate::com_atproto::moderation::create_report::ModTool<'a>, 24 + >, 23 25 /// Additional context about the content and violation. 24 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 27 #[serde(borrow)] 26 - pub reason: Option<jacquard_common::CowStr<'a>>, 28 + pub reason: std::option::Option<jacquard_common::CowStr<'a>>, 27 29 /// Indicates the broad category of violation the report is for. 28 30 #[serde(borrow)] 29 31 pub reason_type: crate::com_atproto::moderation::ReasonType<'a>,
+5 -5
crates/jacquard-api/src/com_atproto/repo/apply_writes.rs
··· 23 23 /// NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub rkey: Option< 26 + pub rkey: std::option::Option< 27 27 jacquard_common::types::string::RecordKey< 28 28 jacquard_common::types::string::Rkey<'a>, 29 29 >, ··· 715 715 pub uri: jacquard_common::types::string::AtUri<'a>, 716 716 #[serde(skip_serializing_if = "std::option::Option::is_none")] 717 717 #[serde(borrow)] 718 - pub validation_status: Option<jacquard_common::CowStr<'a>>, 718 + pub validation_status: std::option::Option<jacquard_common::CowStr<'a>>, 719 719 } 720 720 721 721 pub mod create_result_state { ··· 1131 1131 /// If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations. 1132 1132 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1133 1133 #[serde(borrow)] 1134 - pub swap_commit: Option<jacquard_common::types::string::Cid<'a>>, 1134 + pub swap_commit: std::option::Option<jacquard_common::types::string::Cid<'a>>, 1135 1135 /// Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons. 1136 1136 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1137 - pub validate: Option<bool>, 1137 + pub validate: std::option::Option<bool>, 1138 1138 #[serde(borrow)] 1139 1139 pub writes: Vec<ApplyWritesWritesItem<'a>>, 1140 1140 } ··· 1686 1686 pub uri: jacquard_common::types::string::AtUri<'a>, 1687 1687 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1688 1688 #[serde(borrow)] 1689 - pub validation_status: Option<jacquard_common::CowStr<'a>>, 1689 + pub validation_status: std::option::Option<jacquard_common::CowStr<'a>>, 1690 1690 } 1691 1691 1692 1692 pub mod update_result_state {
+3 -3
crates/jacquard-api/src/com_atproto/repo/create_record.rs
··· 29 29 /// The Record Key. 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub rkey: Option< 32 + pub rkey: std::option::Option< 33 33 jacquard_common::types::string::RecordKey< 34 34 jacquard_common::types::string::Rkey<'a>, 35 35 >, ··· 37 37 /// Compare and swap with the previous commit by CID. 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub swap_commit: Option<jacquard_common::types::string::Cid<'a>>, 40 + pub swap_commit: std::option::Option<jacquard_common::types::string::Cid<'a>>, 41 41 /// Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 - pub validate: Option<bool>, 43 + pub validate: std::option::Option<bool>, 44 44 } 45 45 46 46 pub mod create_record_state {
+2 -2
crates/jacquard-api/src/com_atproto/repo/delete_record.rs
··· 31 31 /// Compare and swap with the previous commit by CID. 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub swap_commit: Option<jacquard_common::types::string::Cid<'a>>, 34 + pub swap_commit: std::option::Option<jacquard_common::types::string::Cid<'a>>, 35 35 /// Compare and swap with the previous record by CID. 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub swap_record: Option<jacquard_common::types::string::Cid<'a>>, 38 + pub swap_record: std::option::Option<jacquard_common::types::string::Cid<'a>>, 39 39 } 40 40 41 41 pub mod delete_record_state {
+3 -3
crates/jacquard-api/src/com_atproto/repo/put_record.rs
··· 34 34 /// Compare and swap with the previous commit by CID. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub swap_commit: Option<jacquard_common::types::string::Cid<'a>>, 37 + pub swap_commit: std::option::Option<jacquard_common::types::string::Cid<'a>>, 38 38 /// Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 40 #[serde(borrow)] 41 - pub swap_record: Option<jacquard_common::types::string::Cid<'a>>, 41 + pub swap_record: std::option::Option<jacquard_common::types::string::Cid<'a>>, 42 42 /// Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons. 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 - pub validate: Option<bool>, 44 + pub validate: std::option::Option<bool>, 45 45 } 46 46 47 47 pub mod put_record_state {
+8 -8
crates/jacquard-api/src/com_atproto/server/create_account.rs
··· 20 20 /// Pre-existing atproto DID, being imported to a new account. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub did: Option<jacquard_common::types::string::Did<'a>>, 23 + pub did: std::option::Option<jacquard_common::types::string::Did<'a>>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub email: Option<jacquard_common::CowStr<'a>>, 26 + pub email: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// Requested handle for the account. 28 28 #[serde(borrow)] 29 29 pub handle: jacquard_common::types::string::Handle<'a>, 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub invite_code: Option<jacquard_common::CowStr<'a>>, 32 + pub invite_code: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// Initial account password. May need to meet instance-specific password strength requirements. 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub password: Option<jacquard_common::CowStr<'a>>, 36 + pub password: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 /// A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented. 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub plc_op: Option<jacquard_common::types::value::Data<'a>>, 40 + pub plc_op: std::option::Option<jacquard_common::types::value::Data<'a>>, 41 41 /// DID PLC rotation key (aka, recovery key) to be included in PLC creation operation. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub recovery_key: Option<jacquard_common::CowStr<'a>>, 44 + pub recovery_key: std::option::Option<jacquard_common::CowStr<'a>>, 45 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 46 46 #[serde(borrow)] 47 - pub verification_code: Option<jacquard_common::CowStr<'a>>, 47 + pub verification_code: std::option::Option<jacquard_common::CowStr<'a>>, 48 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 49 49 #[serde(borrow)] 50 - pub verification_phone: Option<jacquard_common::CowStr<'a>>, 50 + pub verification_phone: std::option::Option<jacquard_common::CowStr<'a>>, 51 51 } 52 52 53 53 pub mod create_account_state {
+1 -1
crates/jacquard-api/src/com_atproto/server/create_app_password.rs
··· 23 23 #[serde(borrow)] 24 24 pub password: jacquard_common::CowStr<'a>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub privileged: Option<bool>, 26 + pub privileged: std::option::Option<bool>, 27 27 } 28 28 29 29 pub mod app_password_state {
+1 -1
crates/jacquard-api/src/com_atproto/server/create_invite_code.rs
··· 19 19 pub struct CreateInviteCode<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub for_account: Option<jacquard_common::types::string::Did<'a>>, 22 + pub for_account: std::option::Option<jacquard_common::types::string::Did<'a>>, 23 23 pub use_count: i64, 24 24 } 25 25
+1 -1
crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs
··· 347 347 pub code_count: i64, 348 348 #[serde(skip_serializing_if = "std::option::Option::is_none")] 349 349 #[serde(borrow)] 350 - pub for_accounts: Option<Vec<jacquard_common::types::string::Did<'a>>>, 350 + pub for_accounts: std::option::Option<Vec<jacquard_common::types::string::Did<'a>>>, 351 351 pub use_count: i64, 352 352 } 353 353
+1 -1
crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs
··· 21 21 #[serde(borrow)] 22 22 pub name: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub privileged: Option<bool>, 24 + pub privileged: std::option::Option<bool>, 25 25 } 26 26 27 27 pub mod app_password_state {
+2 -2
crates/jacquard-api/src/com_atproto/sync/list_repos.rs
··· 171 171 #[serde(rename_all = "camelCase")] 172 172 pub struct Repo<'a> { 173 173 #[serde(skip_serializing_if = "std::option::Option::is_none")] 174 - pub active: Option<bool>, 174 + pub active: std::option::Option<bool>, 175 175 #[serde(borrow)] 176 176 pub did: jacquard_common::types::string::Did<'a>, 177 177 /// Current repo commit CID ··· 181 181 /// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. 182 182 #[serde(skip_serializing_if = "std::option::Option::is_none")] 183 183 #[serde(borrow)] 184 - pub status: Option<jacquard_common::CowStr<'a>>, 184 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 185 185 } 186 186 187 187 pub mod repo_state {
+8 -6
crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs
··· 26 26 /// If active=false, this optional field indicates a reason for why the account is not active. 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub status: Option<jacquard_common::CowStr<'a>>, 29 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 30 30 pub time: jacquard_common::types::string::Datetime, 31 31 } 32 32 ··· 929 929 #[serde(borrow)] 930 930 pub blobs: Vec<jacquard_common::types::cid::CidLink<'a>>, 931 931 /// CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list. 932 + #[serde(with = "jacquard_common::serde_bytes_helper")] 932 933 pub blocks: bytes::Bytes, 933 934 /// Repo commit object CID. 934 935 #[serde(borrow)] ··· 938 939 /// The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose. 939 940 #[serde(skip_serializing_if = "std::option::Option::is_none")] 940 941 #[serde(borrow)] 941 - pub prev_data: Option<jacquard_common::types::cid::CidLink<'a>>, 942 + pub prev_data: std::option::Option<jacquard_common::types::cid::CidLink<'a>>, 942 943 /// DEPRECATED -- unused 943 944 pub rebase: bool, 944 945 /// The repo this event comes from. Note that all other message types name this field 'did'. ··· 949 950 /// The stream sequence number of this message. 950 951 pub seq: i64, 951 952 /// The rev of the last emitted commit from this repo (if any). 952 - pub since: jacquard_common::types::string::Tid, 953 + pub since: std::option::Option<jacquard_common::types::string::Tid>, 953 954 /// Timestamp of when this message was originally broadcast. 954 955 pub time: jacquard_common::types::string::Datetime, 955 956 /// DEPRECATED -- replaced by #sync event and data limits. Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data. ··· 1586 1587 /// The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details. 1587 1588 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1588 1589 #[serde(borrow)] 1589 - pub handle: Option<jacquard_common::types::string::Handle<'a>>, 1590 + pub handle: std::option::Option<jacquard_common::types::string::Handle<'a>>, 1590 1591 pub seq: i64, 1591 1592 pub time: jacquard_common::types::string::Datetime, 1592 1593 } ··· 2079 2080 pub action: jacquard_common::CowStr<'a>, 2080 2081 /// For creates and updates, the new record CID. For deletions, null. 2081 2082 #[serde(borrow)] 2082 - pub cid: jacquard_common::types::cid::CidLink<'a>, 2083 + pub cid: std::option::Option<jacquard_common::types::cid::CidLink<'a>>, 2083 2084 #[serde(borrow)] 2084 2085 pub path: jacquard_common::CowStr<'a>, 2085 2086 /// For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. 2086 2087 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2087 2088 #[serde(borrow)] 2088 - pub prev: Option<jacquard_common::types::cid::CidLink<'a>>, 2089 + pub prev: std::option::Option<jacquard_common::types::cid::CidLink<'a>>, 2089 2090 } 2090 2091 2091 2092 pub mod repo_op_state { ··· 2318 2319 #[serde(rename_all = "camelCase")] 2319 2320 pub struct Sync<'a> { 2320 2321 /// CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'. 2322 + #[serde(with = "jacquard_common::serde_bytes_helper")] 2321 2323 pub blocks: bytes::Bytes, 2322 2324 /// The account this repo event corresponds to. Must match that in the commit object. 2323 2325 #[serde(borrow)]
+4 -4
crates/jacquard-api/src/com_crabdance/nandi/post.rs
··· 23 23 pub created_at: jacquard_common::types::string::Datetime, 24 24 /// Whether the post is published or draft 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub published: Option<bool>, 26 + pub published: std::option::Option<bool>, 27 27 /// Optional summary/excerpt of the post 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub summary: Option<jacquard_common::CowStr<'a>>, 30 + pub summary: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// Tags for categorizing the post 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 34 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 35 35 /// The title of the blog post 36 36 #[serde(borrow)] 37 37 pub title: jacquard_common::CowStr<'a>, 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 39 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 40 40 } 41 41 42 42 pub mod post_state {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs
··· 484 484 /// Alt text description of the image, for accessibility. 485 485 #[serde(skip_serializing_if = "std::option::Option::is_none")] 486 486 #[serde(borrow)] 487 - pub alt: Option<jacquard_common::CowStr<'a>>, 487 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 488 488 /// The AT protocol link. 489 489 #[serde(borrow)] 490 490 pub at: jacquard_common::types::string::Uri<'a>, ··· 503 503 /// An array of tags this image had. 504 504 #[serde(skip_serializing_if = "std::option::Option::is_none")] 505 505 #[serde(borrow)] 506 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 506 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 507 507 } 508 508 509 509 pub mod hydrated_oekaki_state {
+5 -3
crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs
··· 421 421 /// What this oekaki post is a response to. 422 422 #[serde(skip_serializing_if = "std::option::Option::is_none")] 423 423 #[serde(borrow)] 424 - pub in_response_to: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 424 + pub in_response_to: std::option::Option< 425 + crate::com_atproto::repo::strong_ref::StrongRef<'a>, 426 + >, 425 427 /// Is this oekaki NSFW? 426 428 #[serde(skip_serializing_if = "std::option::Option::is_none")] 427 - pub nsfw: Option<bool>, 429 + pub nsfw: std::option::Option<bool>, 428 430 /// An array of tags this image had. 429 431 #[serde(skip_serializing_if = "std::option::Option::is_none")] 430 432 #[serde(borrow)] 431 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 433 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 432 434 } 433 435 434 436 pub mod oekaki_state {
+6 -4
crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs
··· 21 21 /// The oekaki image that's the avatar of this profile. 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 24 + pub avatar: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 25 25 /// The bio of the user. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub bio: Option<jacquard_common::CowStr<'a>>, 28 + pub bio: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// The links to outside platforms for this user 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub links: Option<Vec<crate::com_shinolabs::pinksea::profile::ProfileLink<'a>>>, 32 + pub links: std::option::Option< 33 + Vec<crate::com_shinolabs::pinksea::profile::ProfileLink<'a>>, 34 + >, 33 35 /// The display name of the user. 34 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 37 #[serde(borrow)] 36 - pub nickname: Option<jacquard_common::CowStr<'a>>, 38 + pub nickname: std::option::Option<jacquard_common::CowStr<'a>>, 37 39 } 38 40 39 41 pub mod profile_state {
+3 -3
crates/jacquard-api/src/com_whtwnd/blog.rs
··· 27 27 pub blobref: jacquard_common::types::blob::BlobRef<'a>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub name: Option<jacquard_common::CowStr<'a>>, 30 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 } 32 32 33 33 pub mod blob_metadata_state { ··· 627 627 #[serde(rename_all = "camelCase")] 628 628 pub struct Ogp<'a> { 629 629 #[serde(skip_serializing_if = "std::option::Option::is_none")] 630 - pub height: Option<i64>, 630 + pub height: std::option::Option<i64>, 631 631 #[serde(borrow)] 632 632 pub url: jacquard_common::types::string::Uri<'a>, 633 633 #[serde(skip_serializing_if = "std::option::Option::is_none")] 634 - pub width: Option<i64>, 634 + pub width: std::option::Option<i64>, 635 635 } 636 636 637 637 pub mod ogp_state {
+8 -8
crates/jacquard-api/src/com_whtwnd/blog/entry.rs
··· 20 20 pub struct Entry<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub blobs: Option<Vec<crate::com_whtwnd::blog::BlobMetadata<'a>>>, 23 + pub blobs: std::option::Option<Vec<crate::com_whtwnd::blog::BlobMetadata<'a>>>, 24 24 #[serde(borrow)] 25 25 pub content: jacquard_common::CowStr<'a>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 - pub created_at: Option<jacquard_common::types::string::Datetime>, 27 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 28 28 /// (DEPRECATED) Marks this entry as draft to tell AppViews not to show it to anyone except for the author 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub is_draft: Option<bool>, 30 + pub is_draft: std::option::Option<bool>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub ogp: Option<crate::com_whtwnd::blog::Ogp<'a>>, 33 + pub ogp: std::option::Option<crate::com_whtwnd::blog::Ogp<'a>>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub subtitle: Option<jacquard_common::CowStr<'a>>, 36 + pub subtitle: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub theme: Option<jacquard_common::CowStr<'a>>, 39 + pub theme: std::option::Option<jacquard_common::CowStr<'a>>, 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[serde(borrow)] 42 - pub title: Option<jacquard_common::CowStr<'a>>, 42 + pub title: std::option::Option<jacquard_common::CowStr<'a>>, 43 43 /// Tells the visibility of the article to AppView. 44 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 45 #[serde(borrow)] 46 - pub visibility: Option<jacquard_common::CowStr<'a>>, 46 + pub visibility: std::option::Option<jacquard_common::CowStr<'a>>, 47 47 } 48 48 49 49 pub mod entry_state {
+1 -1
crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs
··· 24 24 /// Tags for content the bookmark may be related to, for example 'news' or 'funny videos' 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 27 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 28 28 } 29 29 30 30 pub mod bookmark_state {
+12 -8
crates/jacquard-api/src/community_lexicon/calendar/event.rs
··· 77 77 /// The description of the event. 78 78 #[serde(skip_serializing_if = "std::option::Option::is_none")] 79 79 #[serde(borrow)] 80 - pub description: Option<jacquard_common::CowStr<'a>>, 80 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 81 81 /// Client-declared timestamp when the event ends. 82 82 #[serde(skip_serializing_if = "std::option::Option::is_none")] 83 - pub ends_at: Option<jacquard_common::types::string::Datetime>, 83 + pub ends_at: std::option::Option<jacquard_common::types::string::Datetime>, 84 84 /// The locations where the event takes place. 85 85 #[serde(skip_serializing_if = "std::option::Option::is_none")] 86 86 #[serde(borrow)] 87 - pub locations: Option<Vec<EventLocationsItem<'a>>>, 87 + pub locations: std::option::Option<Vec<EventLocationsItem<'a>>>, 88 88 /// The attendance mode of the event. 89 89 #[serde(skip_serializing_if = "std::option::Option::is_none")] 90 90 #[serde(borrow)] 91 - pub mode: Option<crate::community_lexicon::calendar::event::Mode<'a>>, 91 + pub mode: std::option::Option<crate::community_lexicon::calendar::event::Mode<'a>>, 92 92 /// The name of the event. 93 93 #[serde(borrow)] 94 94 pub name: jacquard_common::CowStr<'a>, 95 95 /// Client-declared timestamp when the event starts. 96 96 #[serde(skip_serializing_if = "std::option::Option::is_none")] 97 - pub starts_at: Option<jacquard_common::types::string::Datetime>, 97 + pub starts_at: std::option::Option<jacquard_common::types::string::Datetime>, 98 98 /// The status of the event. 99 99 #[serde(skip_serializing_if = "std::option::Option::is_none")] 100 100 #[serde(borrow)] 101 - pub status: Option<crate::community_lexicon::calendar::event::Status<'a>>, 101 + pub status: std::option::Option< 102 + crate::community_lexicon::calendar::event::Status<'a>, 103 + >, 102 104 /// URIs associated with the event. 103 105 #[serde(skip_serializing_if = "std::option::Option::is_none")] 104 106 #[serde(borrow)] 105 - pub uris: Option<Vec<crate::community_lexicon::calendar::event::Uri<'a>>>, 107 + pub uris: std::option::Option< 108 + Vec<crate::community_lexicon::calendar::event::Uri<'a>>, 109 + >, 106 110 } 107 111 108 112 pub mod event_state { ··· 1182 1186 /// The display name of the URI. 1183 1187 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1184 1188 #[serde(borrow)] 1185 - pub name: Option<jacquard_common::CowStr<'a>>, 1189 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 1186 1190 #[serde(borrow)] 1187 1191 pub uri: jacquard_common::types::string::Uri<'a>, 1188 1192 }
+1 -1
crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs
··· 24 24 /// Short, human-readable description of how this wallet is related to this account. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub note: Option<jacquard_common::CowStr<'a>>, 27 + pub note: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 } 29 29 30 30 pub mod web_monetization_state {
+2 -2
crates/jacquard-api/src/computer_aesthetic/painting.rs
··· 27 27 /// URL to .zip recording file (if available) 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub recording_url: Option<jacquard_common::types::string::Uri<'a>>, 30 + pub recording_url: std::option::Option<jacquard_common::types::string::Uri<'a>>, 31 31 /// MongoDB ObjectId reference for bidirectional sync 32 32 #[serde(borrow)] 33 33 pub r#ref: jacquard_common::CowStr<'a>, ··· 37 37 /// Thumbnail preview (max 1MB) 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub thumbnail: Option<jacquard_common::types::blob::BlobRef<'a>>, 40 + pub thumbnail: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 41 41 /// Creation timestamp (ISO 8601) 42 42 pub when: jacquard_common::types::string::Datetime, 43 43 }
+5 -5
crates/jacquard-api/src/computer_aesthetic/tape.rs
··· 20 20 /// Permanent link to view on aesthetic.computer (e.g., https://aesthetic.computer/!a3x) 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub ac_url: Option<jacquard_common::CowStr<'a>>, 23 + pub ac_url: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Short alphanumeric code for easy lookup (e.g., 'a3x') 25 25 #[serde(borrow)] 26 26 pub code: jacquard_common::CowStr<'a>, 27 27 /// MongoDB ObjectId reference for bi-directional sync 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub r#ref: Option<jacquard_common::CowStr<'a>>, 30 + pub r#ref: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// The unique slug identifier for this tape (e.g., wand-1729177200000) 32 32 #[serde(borrow)] 33 33 pub slug: jacquard_common::CowStr<'a>, 34 34 /// Thumbnail image from midpoint frame, 3x scaled with nearest neighbor (max 1MB) 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub thumbnail: Option<jacquard_common::types::blob::BlobRef<'a>>, 37 + pub thumbnail: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 38 38 /// MP4 video with 3x pixel scaling and audio soundtrack (max 50MB) 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 40 #[serde(borrow)] 41 - pub video: Option<jacquard_common::types::blob::BlobRef<'a>>, 41 + pub video: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 42 42 /// ISO 8601 timestamp when the tape was created 43 43 pub when: jacquard_common::types::string::Datetime, 44 44 /// Direct URL to download the original ZIP file with frames and audio 45 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 46 46 #[serde(borrow)] 47 - pub zip_url: Option<jacquard_common::CowStr<'a>>, 47 + pub zip_url: std::option::Option<jacquard_common::CowStr<'a>>, 48 48 } 49 49 50 50 pub mod tape_state {
+1 -1
crates/jacquard-api/src/dev_baileytownsend/health/workout.rs
··· 26 26 /// Distance covered during the workout (optional). 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub distance: Option<jacquard_common::CowStr<'a>>, 29 + pub distance: std::option::Option<jacquard_common::CowStr<'a>>, 30 30 /// How long the workout lasted in minutes. 31 31 #[serde(borrow)] 32 32 pub duration: jacquard_common::CowStr<'a>,
+2 -2
crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs
··· 27 27 pub forum: jacquard_common::types::ident::AtIdentifier<'a>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub solution: Option<jacquard_common::types::string::AtUri<'a>>, 30 + pub solution: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 31 31 #[serde(borrow)] 32 32 pub tags: Vec<jacquard_common::CowStr<'a>>, 33 33 #[serde(borrow)] 34 34 pub title: jacquard_common::CowStr<'a>, 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 36 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 37 37 } 38 38 39 39 pub mod post_state {
+1 -1
crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs
··· 29 29 #[serde(borrow)] 30 30 pub title: jacquard_common::CowStr<'a>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 32 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 33 33 } 34 34 35 35 pub mod question_state {
+1 -1
crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs
··· 24 24 #[serde(borrow)] 25 25 pub root: jacquard_common::types::string::AtUri<'a>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 27 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 28 28 } 29 29 30 30 pub mod reply_state {
+1 -1
crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs
··· 22 22 pub category_type: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub description: Option<jacquard_common::CowStr<'a>>, 25 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 #[serde(borrow)] 27 27 pub group: jacquard_common::types::string::AtUri<'a>, 28 28 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/group.rs
··· 20 20 pub struct Group<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub description: Option<jacquard_common::CowStr<'a>>, 23 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 #[serde(borrow)] 25 25 pub name: jacquard_common::CowStr<'a>, 26 26 }
+2 -2
crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/identity.rs
··· 20 20 pub struct Identity<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub accent: Option<jacquard_common::CowStr<'a>>, 23 + pub accent: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 #[serde(borrow)] 28 28 pub name: jacquard_common::CowStr<'a>, 29 29 }
+1 -1
crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs
··· 20 20 /// The post's attachment blob. Must be present if parent is dev.ocbwoy3.blueboard.board, otherwise AppView will ignore it. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub attachment: Option<jacquard_common::types::blob::BlobRef<'a>>, 23 + pub attachment: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 24 24 /// The date and time when the post was created 25 25 pub created_at: jacquard_common::types::string::Datetime, 26 26 /// Determines the parent of the post. Must either be a `dev.ocbwoy3.blueboard.board` or a `dev.ocbwoy3.blueboard.post`.
+11 -7
crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs
··· 255 255 /// Small image to be displayed next to posts from account. AKA, 'profile picture' 256 256 #[serde(skip_serializing_if = "std::option::Option::is_none")] 257 257 #[serde(borrow)] 258 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 258 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 259 259 /// Larger horizontal image to display behind profile view. 260 260 #[serde(skip_serializing_if = "std::option::Option::is_none")] 261 261 #[serde(borrow)] 262 - pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 262 + pub banner: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 263 263 #[serde(skip_serializing_if = "std::option::Option::is_none")] 264 - pub created_at: Option<jacquard_common::types::string::Datetime>, 264 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 265 265 /// Free-form profile description text. 266 266 #[serde(skip_serializing_if = "std::option::Option::is_none")] 267 267 #[serde(borrow)] 268 - pub description: Option<jacquard_common::CowStr<'a>>, 268 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 269 269 /// Annotations of text in the profile description (mentions, URLs, hashtags, etc). 270 270 #[serde(skip_serializing_if = "std::option::Option::is_none")] 271 271 #[serde(borrow)] 272 - pub description_facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 272 + pub description_facets: std::option::Option< 273 + Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 274 + >, 273 275 #[serde(skip_serializing_if = "std::option::Option::is_none")] 274 276 #[serde(borrow)] 275 - pub display_name: Option<jacquard_common::CowStr<'a>>, 277 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 276 278 /// The user's most recent item featured on their profile. 277 279 #[serde(skip_serializing_if = "std::option::Option::is_none")] 278 280 #[serde(borrow)] 279 - pub featured_item: Option<crate::fm_teal::alpha::actor::profile::FeaturedItem<'a>>, 281 + pub featured_item: std::option::Option< 282 + crate::fm_teal::alpha::actor::profile::FeaturedItem<'a>, 283 + >, 280 284 } 281 285 282 286 pub mod profile_state {
+2 -2
crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs
··· 23 23 pub completed_onboarding: jacquard_common::CowStr<'a>, 24 24 /// The timestamp when this status was created 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub created_at: Option<jacquard_common::types::string::Datetime>, 26 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 27 27 /// The timestamp when this status was last updated 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 29 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 30 30 } 31 31 32 32 pub mod profile_status_state {
+1 -1
crates/jacquard-api/src/fm_teal/alpha/actor/status.rs
··· 20 20 pub struct Status<'a> { 21 21 /// The unix timestamp of the expiry time of the item. If unavailable, default to 10 minutes past the start time. 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub expiry: Option<jacquard_common::types::string::Datetime>, 23 + pub expiry: std::option::Option<jacquard_common::types::string::Datetime>, 24 24 #[serde(borrow)] 25 25 pub item: crate::fm_teal::alpha::feed::PlayView<'a>, 26 26 /// The unix timestamp of when the item was recorded
+10 -10
crates/jacquard-api/src/fm_teal/alpha/feed.rs
··· 439 439 pub artists: Vec<crate::fm_teal::alpha::feed::Artist<'a>>, 440 440 /// The length of the track in seconds 441 441 #[serde(skip_serializing_if = "std::option::Option::is_none")] 442 - pub duration: Option<i64>, 442 + pub duration: std::option::Option<i64>, 443 443 /// The ISRC code associated with the recording 444 444 #[serde(skip_serializing_if = "std::option::Option::is_none")] 445 445 #[serde(borrow)] 446 - pub isrc: Option<jacquard_common::CowStr<'a>>, 446 + pub isrc: std::option::Option<jacquard_common::CowStr<'a>>, 447 447 /// The base domain of the music service. e.g. music.apple.com, tidal.com, spotify.com. Defaults to 'local' if not provided. 448 448 #[serde(skip_serializing_if = "std::option::Option::is_none")] 449 449 #[serde(borrow)] 450 - pub music_service_base_domain: Option<jacquard_common::CowStr<'a>>, 450 + pub music_service_base_domain: std::option::Option<jacquard_common::CowStr<'a>>, 451 451 /// The URL associated with this track 452 452 #[serde(skip_serializing_if = "std::option::Option::is_none")] 453 453 #[serde(borrow)] 454 - pub origin_url: Option<jacquard_common::CowStr<'a>>, 454 + pub origin_url: std::option::Option<jacquard_common::CowStr<'a>>, 455 455 /// The unix timestamp of when the track was played 456 456 #[serde(skip_serializing_if = "std::option::Option::is_none")] 457 - pub played_time: Option<jacquard_common::types::string::Datetime>, 457 + pub played_time: std::option::Option<jacquard_common::types::string::Datetime>, 458 458 /// The Musicbrainz recording ID of the track 459 459 #[serde(skip_serializing_if = "std::option::Option::is_none")] 460 460 #[serde(borrow)] 461 - pub recording_mb_id: Option<jacquard_common::CowStr<'a>>, 461 + pub recording_mb_id: std::option::Option<jacquard_common::CowStr<'a>>, 462 462 /// The Musicbrainz release ID 463 463 #[serde(skip_serializing_if = "std::option::Option::is_none")] 464 464 #[serde(borrow)] 465 - pub release_mb_id: Option<jacquard_common::CowStr<'a>>, 465 + pub release_mb_id: std::option::Option<jacquard_common::CowStr<'a>>, 466 466 /// The name of the release/album 467 467 #[serde(skip_serializing_if = "std::option::Option::is_none")] 468 468 #[serde(borrow)] 469 - pub release_name: Option<jacquard_common::CowStr<'a>>, 469 + pub release_name: std::option::Option<jacquard_common::CowStr<'a>>, 470 470 /// A user-agent style string specifying the user agent. e.g. tealtracker/0.0.1b (Linux; Android 13; SM-A715F). Defaults to 'manual/unknown' if not provided. 471 471 #[serde(skip_serializing_if = "std::option::Option::is_none")] 472 472 #[serde(borrow)] 473 - pub submission_client_agent: Option<jacquard_common::CowStr<'a>>, 473 + pub submission_client_agent: std::option::Option<jacquard_common::CowStr<'a>>, 474 474 /// The Musicbrainz ID of the track 475 475 #[serde(skip_serializing_if = "std::option::Option::is_none")] 476 476 #[serde(borrow)] 477 - pub track_mb_id: Option<jacquard_common::CowStr<'a>>, 477 + pub track_mb_id: std::option::Option<jacquard_common::CowStr<'a>>, 478 478 /// The name of the track 479 479 #[serde(borrow)] 480 480 pub track_name: jacquard_common::CowStr<'a>,
+15 -15
crates/jacquard-api/src/fm_teal/alpha/feed/play.rs
··· 20 20 /// Array of Musicbrainz artist IDs. Prefer using 'artists'. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub artist_mb_ids: Option<Vec<jacquard_common::CowStr<'a>>>, 23 + pub artist_mb_ids: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 24 24 /// Array of artist names in order of original appearance. Prefer using 'artists'. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub artist_names: Option<Vec<jacquard_common::CowStr<'a>>>, 27 + pub artist_names: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 28 28 /// Array of artists in order of original appearance. 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub artists: Option<Vec<crate::fm_teal::alpha::feed::Artist<'a>>>, 31 + pub artists: std::option::Option<Vec<crate::fm_teal::alpha::feed::Artist<'a>>>, 32 32 /// The length of the track in seconds 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 - pub duration: Option<i64>, 34 + pub duration: std::option::Option<i64>, 35 35 /// The ISRC code associated with the recording 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub isrc: Option<jacquard_common::CowStr<'a>>, 38 + pub isrc: std::option::Option<jacquard_common::CowStr<'a>>, 39 39 /// The base domain of the music service. e.g. music.apple.com, tidal.com, spotify.com. Defaults to 'local' if unavailable or not provided. 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[serde(borrow)] 42 - pub music_service_base_domain: Option<jacquard_common::CowStr<'a>>, 42 + pub music_service_base_domain: std::option::Option<jacquard_common::CowStr<'a>>, 43 43 /// The URL associated with this track 44 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 45 #[serde(borrow)] 46 - pub origin_url: Option<jacquard_common::CowStr<'a>>, 46 + pub origin_url: std::option::Option<jacquard_common::CowStr<'a>>, 47 47 /// The unix timestamp of when the track was played 48 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 49 - pub played_time: Option<jacquard_common::types::string::Datetime>, 49 + pub played_time: std::option::Option<jacquard_common::types::string::Datetime>, 50 50 /// The Musicbrainz recording ID of the track 51 51 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 52 #[serde(borrow)] 53 - pub recording_mb_id: Option<jacquard_common::CowStr<'a>>, 53 + pub recording_mb_id: std::option::Option<jacquard_common::CowStr<'a>>, 54 54 /// Distinguishing information for release variants (e.g. 'Deluxe Edition', 'Remastered', '2023 Remaster', 'Special Edition'). Used to differentiate between different versions of the same base release while maintaining grouping capabilities. 55 55 #[serde(skip_serializing_if = "std::option::Option::is_none")] 56 56 #[serde(borrow)] 57 - pub release_discriminant: Option<jacquard_common::CowStr<'a>>, 57 + pub release_discriminant: std::option::Option<jacquard_common::CowStr<'a>>, 58 58 /// The Musicbrainz release ID 59 59 #[serde(skip_serializing_if = "std::option::Option::is_none")] 60 60 #[serde(borrow)] 61 - pub release_mb_id: Option<jacquard_common::CowStr<'a>>, 61 + pub release_mb_id: std::option::Option<jacquard_common::CowStr<'a>>, 62 62 /// The name of the release/album 63 63 #[serde(skip_serializing_if = "std::option::Option::is_none")] 64 64 #[serde(borrow)] 65 - pub release_name: Option<jacquard_common::CowStr<'a>>, 65 + pub release_name: std::option::Option<jacquard_common::CowStr<'a>>, 66 66 /// A metadata string specifying the user agent where the format is `<app-identifier>/<version> (<kernel/OS-base>; <platform/OS-version>; <device-model>)`. If string is provided, only `app-identifier` and `version` are required. `app-identifier` is recommended to be in reverse dns format. Defaults to 'manual/unknown' if unavailable or not provided. 67 67 #[serde(skip_serializing_if = "std::option::Option::is_none")] 68 68 #[serde(borrow)] 69 - pub submission_client_agent: Option<jacquard_common::CowStr<'a>>, 69 + pub submission_client_agent: std::option::Option<jacquard_common::CowStr<'a>>, 70 70 /// Distinguishing information for track variants (e.g. 'Acoustic Version', 'Live at Wembley', 'Radio Edit', 'Demo'). Used to differentiate between different versions of the same base track while maintaining grouping capabilities. 71 71 #[serde(skip_serializing_if = "std::option::Option::is_none")] 72 72 #[serde(borrow)] 73 - pub track_discriminant: Option<jacquard_common::CowStr<'a>>, 73 + pub track_discriminant: std::option::Option<jacquard_common::CowStr<'a>>, 74 74 /// The Musicbrainz ID of the track 75 75 #[serde(skip_serializing_if = "std::option::Option::is_none")] 76 76 #[serde(borrow)] 77 - pub track_mb_id: Option<jacquard_common::CowStr<'a>>, 77 + pub track_mb_id: std::option::Option<jacquard_common::CowStr<'a>>, 78 78 /// The name of the track 79 79 #[serde(borrow)] 80 80 pub track_name: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/fyi_frontpage/feed/comment.rs
··· 25 25 pub created_at: jacquard_common::types::string::Datetime, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub parent: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 28 + pub parent: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 29 29 #[serde(borrow)] 30 30 pub post: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 31 31 }
+1 -1
crates/jacquard-api/src/fyi_frontpage/feed/post.rs
··· 23 23 /// The piece of content that this Frontpage post is about. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub subject: Option<crate::fyi_frontpage::feed::post::UrlSubject<'a>>, 26 + pub subject: std::option::Option<crate::fyi_frontpage::feed::post::UrlSubject<'a>>, 27 27 /// The title of the post. 28 28 #[serde(borrow)] 29 29 pub title: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs
··· 25 25 pub created_at: jacquard_common::types::string::Datetime, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub parent: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 28 + pub parent: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 29 29 #[serde(borrow)] 30 30 pub post: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 31 31 }
+2 -2
crates/jacquard-api/src/lol_jbc/feed/bite.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Bite<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub created_at: Option<jacquard_common::types::string::Datetime>, 22 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub subject: Option<jacquard_common::CowStr<'a>>, 25 + pub subject: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 } 27 27 28 28 pub mod bite_state {
+3 -3
crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs
··· 25 25 /// Programming language for syntax highlighting 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub language: Option<jacquard_common::CowStr<'a>>, 28 + pub language: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// Optional title for the paste 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub title: Option<jacquard_common::CowStr<'a>>, 32 + pub title: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// When the paste was last modified (optional, defaults to createdAt) 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 35 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 36 36 } 37 37 38 38 pub mod paste_state {
+2 -2
crates/jacquard-api/src/my_skylights/list_item.rs
··· 274 274 pub added_at: jacquard_common::types::string::Datetime, 275 275 #[serde(skip_serializing_if = "std::option::Option::is_none")] 276 276 #[serde(borrow)] 277 - pub item: Option<crate::my_skylights::Item<'a>>, 277 + pub item: std::option::Option<crate::my_skylights::Item<'a>>, 278 278 #[serde(borrow)] 279 279 pub list: ListItemList<'a>, 280 280 #[serde(skip_serializing_if = "std::option::Option::is_none")] 281 281 #[serde(borrow)] 282 - pub note: Option<jacquard_common::CowStr<'a>>, 282 + pub note: std::option::Option<jacquard_common::CowStr<'a>>, 283 283 #[serde(borrow)] 284 284 pub position: jacquard_common::CowStr<'a>, 285 285 }
+3 -3
crates/jacquard-api/src/my_skylights/rel.rs
··· 18 18 #[serde(rename_all = "camelCase")] 19 19 pub struct Rel<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 - pub finished_at: Option<Vec<jacquard_common::types::string::Datetime>>, 21 + pub finished_at: std::option::Option<Vec<jacquard_common::types::string::Datetime>>, 22 22 #[serde(borrow)] 23 23 pub item: crate::my_skylights::Item<'a>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub note: Option<crate::my_skylights::rel::Note<'a>>, 26 + pub note: std::option::Option<crate::my_skylights::rel::Note<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub rating: Option<crate::my_skylights::rel::Rating<'a>>, 29 + pub rating: std::option::Option<crate::my_skylights::rel::Rating<'a>>, 30 30 } 31 31 32 32 pub mod rel_state {
+6 -4
crates/jacquard-api/src/net_altq/aqfile.rs
··· 350 350 /// MIME type, e.g. 'video/mp4'. 351 351 #[serde(skip_serializing_if = "std::option::Option::is_none")] 352 352 #[serde(borrow)] 353 - pub mime_type: Option<jacquard_common::CowStr<'a>>, 353 + pub mime_type: std::option::Option<jacquard_common::CowStr<'a>>, 354 354 /// Client-side last-modified timestamp. 355 355 #[serde(skip_serializing_if = "std::option::Option::is_none")] 356 - pub modified_at: Option<jacquard_common::types::string::Datetime>, 356 + pub modified_at: std::option::Option<jacquard_common::types::string::Datetime>, 357 357 /// User-visible filename. 358 358 #[serde(borrow)] 359 359 pub name: jacquard_common::CowStr<'a>, ··· 627 627 /// Handle or DID of the account to attribute this upload to. 628 628 #[serde(skip_serializing_if = "std::option::Option::is_none")] 629 629 #[serde(borrow)] 630 - pub attribution: Option<jacquard_common::types::ident::AtIdentifier<'a>>, 630 + pub attribution: std::option::Option< 631 + jacquard_common::types::ident::AtIdentifier<'a>, 632 + >, 631 633 /// The uploaded blob reference. Note: Individual PDS instances may enforce lower size limits. 632 634 #[serde(borrow)] 633 635 pub blob: jacquard_common::types::blob::BlobRef<'a>, 634 636 /// Optional cryptographic checksum for integrity verification. 635 637 #[serde(skip_serializing_if = "std::option::Option::is_none")] 636 638 #[serde(borrow)] 637 - pub checksum: Option<crate::net_altq::aqfile::Checksum<'a>>, 639 + pub checksum: std::option::Option<crate::net_altq::aqfile::Checksum<'a>>, 638 640 /// Timestamp when this record was created. 639 641 pub created_at: jacquard_common::types::string::Datetime, 640 642 /// Metadata about the file.
+13 -13
crates/jacquard-api/src/net_anisota/beta/game/collection.rs
··· 23 23 /// Common name of the specimen 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub common_name: Option<jacquard_common::CowStr<'a>>, 26 + pub common_name: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// When the record was created 28 28 pub created_at: jacquard_common::types::string::Datetime, 29 29 /// Taxonomic family 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub family: Option<jacquard_common::CowStr<'a>>, 32 + pub family: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// Taxonomic genus 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub genus: Option<jacquard_common::CowStr<'a>>, 36 + pub genus: std::option::Option<jacquard_common::CowStr<'a>>, 37 37 /// When the record was last modified 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 - pub last_modified: Option<jacquard_common::types::string::Datetime>, 39 + pub last_modified: std::option::Option<jacquard_common::types::string::Datetime>, 40 40 /// When the specimen was last encountered 41 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 - pub last_seen: Option<jacquard_common::types::string::Datetime>, 42 + pub last_seen: std::option::Option<jacquard_common::types::string::Datetime>, 43 43 /// URI of the game.log record that documents the acquisition of this specimen 44 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 45 #[serde(borrow)] 46 - pub log_record_uri: Option<jacquard_common::CowStr<'a>>, 46 + pub log_record_uri: std::option::Option<jacquard_common::CowStr<'a>>, 47 47 /// Number of specimens collected 48 48 pub quantity: i64, 49 49 /// Rarity level of the specimen 50 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 51 51 #[serde(borrow)] 52 - pub rarity: Option<jacquard_common::CowStr<'a>>, 52 + pub rarity: std::option::Option<jacquard_common::CowStr<'a>>, 53 53 /// Scientific name of the specimen 54 54 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 55 #[serde(borrow)] 56 - pub scientific_name: Option<jacquard_common::CowStr<'a>>, 56 + pub scientific_name: std::option::Option<jacquard_common::CowStr<'a>>, 57 57 /// How the specimen was acquired 58 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 59 59 #[serde(borrow)] 60 - pub source: Option<jacquard_common::CowStr<'a>>, 60 + pub source: std::option::Option<jacquard_common::CowStr<'a>>, 61 61 #[serde(skip_serializing_if = "std::option::Option::is_none")] 62 62 #[serde(borrow)] 63 - pub source_details: Option< 63 + pub source_details: std::option::Option< 64 64 crate::net_anisota::beta::game::collection::SourceDetails<'a>, 65 65 >, 66 66 /// Taxonomic species 67 67 #[serde(skip_serializing_if = "std::option::Option::is_none")] 68 68 #[serde(borrow)] 69 - pub species: Option<jacquard_common::CowStr<'a>>, 69 + pub species: std::option::Option<jacquard_common::CowStr<'a>>, 70 70 #[serde(skip_serializing_if = "std::option::Option::is_none")] 71 71 #[serde(borrow)] 72 - pub specimen_data: Option< 72 + pub specimen_data: std::option::Option< 73 73 crate::net_anisota::beta::game::collection::SpecimenData<'a>, 74 74 >, 75 75 /// Unique identifier for the specimen ··· 78 78 /// Collection status of this specimen 79 79 #[serde(skip_serializing_if = "std::option::Option::is_none")] 80 80 #[serde(borrow)] 81 - pub status: Option<jacquard_common::CowStr<'a>>, 81 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 82 82 } 83 83 84 84 pub mod collection_state {
+11 -11
crates/jacquard-api/src/net_anisota/beta/game/inventory.rs
··· 28 28 /// Display name of the item 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub item_name: Option<jacquard_common::CowStr<'a>>, 31 + pub item_name: std::option::Option<jacquard_common::CowStr<'a>>, 32 32 /// Type category of the item (consumable, tool, equipment, etc.) 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub item_type: Option<jacquard_common::CowStr<'a>>, 35 + pub item_type: std::option::Option<jacquard_common::CowStr<'a>>, 36 36 /// Base value of the item in game currency 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 - pub item_value: Option<i64>, 38 + pub item_value: std::option::Option<i64>, 39 39 /// When the record was last modified 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 - pub last_modified: Option<jacquard_common::types::string::Datetime>, 41 + pub last_modified: std::option::Option<jacquard_common::types::string::Datetime>, 42 42 /// URI of the game.log record that documents the acquisition of this item 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub log_record_uri: Option<jacquard_common::CowStr<'a>>, 45 + pub log_record_uri: std::option::Option<jacquard_common::CowStr<'a>>, 46 46 /// Maximum stack size for this item 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 - pub max_stack: Option<i64>, 48 + pub max_stack: std::option::Option<i64>, 49 49 /// Additional item-specific data (stats, attributes, enchantments, etc.) 50 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 51 51 #[serde(borrow)] 52 - pub metadata: Option<jacquard_common::types::value::Data<'a>>, 52 + pub metadata: std::option::Option<jacquard_common::types::value::Data<'a>>, 53 53 /// Number of items in the stack 54 54 pub quantity: i64, 55 55 /// Rarity level of the item 56 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 57 57 #[serde(borrow)] 58 - pub rarity: Option<jacquard_common::CowStr<'a>>, 58 + pub rarity: std::option::Option<jacquard_common::CowStr<'a>>, 59 59 /// How the item was acquired 60 60 #[serde(skip_serializing_if = "std::option::Option::is_none")] 61 61 #[serde(borrow)] 62 - pub source: Option<jacquard_common::CowStr<'a>>, 62 + pub source: std::option::Option<jacquard_common::CowStr<'a>>, 63 63 #[serde(skip_serializing_if = "std::option::Option::is_none")] 64 64 #[serde(borrow)] 65 - pub source_details: Option< 65 + pub source_details: std::option::Option< 66 66 crate::net_anisota::beta::game::inventory::SourceDetails<'a>, 67 67 >, 68 68 /// Whether this item can be stacked with others of the same type 69 69 #[serde(skip_serializing_if = "std::option::Option::is_none")] 70 - pub stackable: Option<bool>, 70 + pub stackable: std::option::Option<bool>, 71 71 } 72 72 73 73 pub mod inventory_state {
+19 -11
crates/jacquard-api/src/net_anisota/beta/game/log.rs
··· 1337 1337 pub struct Log<'a> { 1338 1338 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1339 1339 #[serde(borrow)] 1340 - pub collection_data: Option<crate::net_anisota::beta::game::log::CollectionData<'a>>, 1340 + pub collection_data: std::option::Option< 1341 + crate::net_anisota::beta::game::log::CollectionData<'a>, 1342 + >, 1341 1343 /// When the log record was created 1342 1344 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1343 - pub created_at: Option<jacquard_common::types::string::Datetime>, 1345 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 1344 1346 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1345 1347 #[serde(borrow)] 1346 - pub daily_rewards_data: Option< 1348 + pub daily_rewards_data: std::option::Option< 1347 1349 crate::net_anisota::beta::game::log::DailyRewardsData<'a>, 1348 1350 >, 1349 1351 /// Type of event being logged ··· 1351 1353 pub event_type: jacquard_common::CowStr<'a>, 1352 1354 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1353 1355 #[serde(borrow)] 1354 - pub feed_context: Option<crate::net_anisota::beta::game::log::FeedContext<'a>>, 1356 + pub feed_context: std::option::Option< 1357 + crate::net_anisota::beta::game::log::FeedContext<'a>, 1358 + >, 1355 1359 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1356 1360 #[serde(borrow)] 1357 - pub game_card_data: Option<crate::net_anisota::beta::game::log::GameCardData<'a>>, 1361 + pub game_card_data: std::option::Option< 1362 + crate::net_anisota::beta::game::log::GameCardData<'a>, 1363 + >, 1358 1364 /// Unique ID of the game card this event relates to 1359 1365 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1360 1366 #[serde(borrow)] 1361 - pub game_card_id: Option<jacquard_common::CowStr<'a>>, 1367 + pub game_card_id: std::option::Option<jacquard_common::CowStr<'a>>, 1362 1368 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1363 1369 #[serde(borrow)] 1364 - pub item_usage_data: Option<crate::net_anisota::beta::game::log::ItemUsageData<'a>>, 1370 + pub item_usage_data: std::option::Option< 1371 + crate::net_anisota::beta::game::log::ItemUsageData<'a>, 1372 + >, 1365 1373 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1366 1374 #[serde(borrow)] 1367 - pub metadata: Option<crate::net_anisota::beta::game::log::Metadata<'a>>, 1375 + pub metadata: std::option::Option<crate::net_anisota::beta::game::log::Metadata<'a>>, 1368 1376 /// URI of the parent log record that triggered this event 1369 1377 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1370 1378 #[serde(borrow)] 1371 - pub parent_log_uri: Option<jacquard_common::CowStr<'a>>, 1379 + pub parent_log_uri: std::option::Option<jacquard_common::CowStr<'a>>, 1372 1380 /// URI of the root log record in this event chain 1373 1381 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1374 1382 #[serde(borrow)] 1375 - pub root_log_uri: Option<jacquard_common::CowStr<'a>>, 1383 + pub root_log_uri: std::option::Option<jacquard_common::CowStr<'a>>, 1376 1384 /// Unique session identifier to group related events 1377 1385 #[serde(borrow)] 1378 1386 pub session_id: jacquard_common::CowStr<'a>, 1379 1387 /// URI of the session record this event belongs to (at://did/collection/rkey) 1380 1388 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1381 1389 #[serde(borrow)] 1382 - pub session_uri: Option<jacquard_common::CowStr<'a>>, 1390 + pub session_uri: std::option::Option<jacquard_common::CowStr<'a>>, 1383 1391 /// When the event occurred (ISO 8601) 1384 1392 pub timestamp: jacquard_common::types::string::Datetime, 1385 1393 }
+3 -3
crates/jacquard-api/src/net_anisota/beta/game/pack.rs
··· 22 22 pub created_at: jacquard_common::types::string::Datetime, 23 23 /// When the record was last modified 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 - pub last_modified: Option<jacquard_common::types::string::Datetime>, 25 + pub last_modified: std::option::Option<jacquard_common::types::string::Datetime>, 26 26 /// When daily pack was last opened 27 27 pub last_open_time: jacquard_common::types::string::Datetime, 28 28 /// Longest daily pack opening streak achieved 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub longest_streak: Option<i64>, 30 + pub longest_streak: std::option::Option<i64>, 31 31 /// History of the last few pack openings 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub pack_history: Option< 34 + pub pack_history: std::option::Option< 35 35 Vec<crate::net_anisota::beta::game::pack::PackHistoryEntry<'a>>, 36 36 >, 37 37 /// Current daily pack opening streak count
+12 -10
crates/jacquard-api/src/net_anisota/beta/game/progress.rs
··· 21 21 /// URI of the card that was advanced when triggerSource is card_advance 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub card_uri: Option<jacquard_common::CowStr<'a>>, 24 + pub card_uri: std::option::Option<jacquard_common::CowStr<'a>>, 25 25 /// When the progress record was created 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 /// Current stamina level when this progress was recorded (decimal string, e.g. '85.5') 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub current_stamina: Option<jacquard_common::CowStr<'a>>, 30 + pub current_stamina: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// Current player level 32 32 pub level: i64, 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub metadata: Option<crate::net_anisota::beta::game::progress::Metadata<'a>>, 35 + pub metadata: std::option::Option< 36 + crate::net_anisota::beta::game::progress::Metadata<'a>, 37 + >, 36 38 /// Previous level before this update (for tracking level progression) 37 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 - pub previous_level: Option<i64>, 40 + pub previous_level: std::option::Option<i64>, 39 41 /// Progress percentage to the next level (decimal string, e.g. '75.5') 40 42 #[serde(borrow)] 41 43 pub progress_percentage: jacquard_common::CowStr<'a>, 42 44 /// URIs of related game log records that contributed to this progress 43 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 46 #[serde(borrow)] 45 - pub related_log_uris: Option<Vec<jacquard_common::CowStr<'a>>>, 47 + pub related_log_uris: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 46 48 /// Session ID when this progress was recorded (for linking with log records) 47 49 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 50 #[serde(borrow)] 49 - pub session_id: Option<jacquard_common::CowStr<'a>>, 51 + pub session_id: std::option::Option<jacquard_common::CowStr<'a>>, 50 52 /// URI of the session record when this progress was recorded 51 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 54 #[serde(borrow)] 53 - pub session_uri: Option<jacquard_common::CowStr<'a>>, 55 + pub session_uri: std::option::Option<jacquard_common::CowStr<'a>>, 54 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 57 #[serde(borrow)] 56 - pub stats: Option<crate::net_anisota::beta::game::progress::Stats<'a>>, 58 + pub stats: std::option::Option<crate::net_anisota::beta::game::progress::Stats<'a>>, 57 59 /// Total experience points accumulated 58 60 pub total_xp: i64, 59 61 /// What action triggered this progress save 60 62 #[serde(skip_serializing_if = "std::option::Option::is_none")] 61 63 #[serde(borrow)] 62 - pub trigger_source: Option<jacquard_common::CowStr<'a>>, 64 + pub trigger_source: std::option::Option<jacquard_common::CowStr<'a>>, 63 65 /// Experience points gained since the last progress save 64 66 #[serde(skip_serializing_if = "std::option::Option::is_none")] 65 - pub xp_gained_since_last_save: Option<i64>, 67 + pub xp_gained_since_last_save: std::option::Option<i64>, 66 68 /// Experience points needed to reach the next level 67 69 pub xp_to_next_level: i64, 68 70 }
+15 -13
crates/jacquard-api/src/net_anisota/beta/game/session.rs
··· 1009 1009 pub struct Session<'a> { 1010 1010 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1011 1011 #[serde(borrow)] 1012 - pub activity_summary: Option< 1012 + pub activity_summary: std::option::Option< 1013 1013 crate::net_anisota::beta::game::session::ActivitySummary<'a>, 1014 1014 >, 1015 1015 /// Version of the client application ··· 1017 1017 pub client_version: jacquard_common::CowStr<'a>, 1018 1018 /// When the session record was created 1019 1019 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1020 - pub created_at: Option<jacquard_common::types::string::Datetime>, 1020 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 1021 1021 /// Total session duration in milliseconds (calculated when session ends) 1022 1022 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1023 - pub duration: Option<i64>, 1023 + pub duration: std::option::Option<i64>, 1024 1024 /// Why the session ended 1025 1025 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1026 1026 #[serde(borrow)] 1027 - pub end_reason: Option<jacquard_common::CowStr<'a>>, 1027 + pub end_reason: std::option::Option<jacquard_common::CowStr<'a>>, 1028 1028 /// When the session ended (ISO 8601) 1029 1029 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1030 - pub ended_at: Option<jacquard_common::types::string::Datetime>, 1030 + pub ended_at: std::option::Option<jacquard_common::types::string::Datetime>, 1031 1031 /// Timestamp of the last recorded activity in this session 1032 1032 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1033 - pub last_activity_at: Option<jacquard_common::types::string::Datetime>, 1033 + pub last_activity_at: std::option::Option<jacquard_common::types::string::Datetime>, 1034 1034 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1035 1035 #[serde(borrow)] 1036 - pub metadata: Option<crate::net_anisota::beta::game::session::Metadata<'a>>, 1036 + pub metadata: std::option::Option< 1037 + crate::net_anisota::beta::game::session::Metadata<'a>, 1038 + >, 1037 1039 /// URI of the previous session if this is a continuation (e.g., after brief inactivity) 1038 1040 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1039 1041 #[serde(borrow)] 1040 - pub parent_session_uri: Option<jacquard_common::CowStr<'a>>, 1042 + pub parent_session_uri: std::option::Option<jacquard_common::CowStr<'a>>, 1041 1043 /// Platform where the session occurred 1042 1044 #[serde(borrow)] 1043 1045 pub platform: jacquard_common::CowStr<'a>, 1044 1046 /// URIs of log records that occurred during this session 1045 1047 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1046 1048 #[serde(borrow)] 1047 - pub related_log_uris: Option<Vec<jacquard_common::CowStr<'a>>>, 1049 + pub related_log_uris: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 1048 1050 /// URIs of progress records created during this session 1049 1051 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1050 1052 #[serde(borrow)] 1051 - pub related_progress_uris: Option<Vec<jacquard_common::CowStr<'a>>>, 1053 + pub related_progress_uris: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 1052 1054 /// URIs of related sessions (e.g., same day, same device) 1053 1055 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1054 1056 #[serde(borrow)] 1055 - pub related_session_uris: Option<Vec<jacquard_common::CowStr<'a>>>, 1057 + pub related_session_uris: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 1056 1058 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1057 1059 #[serde(borrow)] 1058 - pub session_context: Option< 1060 + pub session_context: std::option::Option< 1059 1061 crate::net_anisota::beta::game::session::SessionContext<'a>, 1060 1062 >, 1061 1063 /// When the session began (ISO 8601) ··· 1065 1067 pub status: jacquard_common::CowStr<'a>, 1066 1068 /// When the session record was last updated 1067 1069 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1068 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 1070 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 1069 1071 } 1070 1072 1071 1073 pub mod session_state {
+7 -7
crates/jacquard-api/src/net_anisota/feed/draft.rs
··· 22 22 pub created_at: jacquard_common::types::string::Datetime, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub embed: Option<DraftEmbed<'a>>, 25 + pub embed: std::option::Option<DraftEmbed<'a>>, 26 26 /// Annotations of text (mentions, URLs, hashtags, etc) 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 29 + pub facets: std::option::Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 30 30 /// Self-label values for this post. Effectively content warnings. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 33 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 34 34 /// Indicates human language of post primary text content. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 - pub langs: Option<Vec<jacquard_common::types::string::Language>>, 36 + pub langs: std::option::Option<Vec<jacquard_common::types::string::Language>>, 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub reply: Option<crate::net_anisota::feed::draft::ReplyRef<'a>>, 39 + pub reply: std::option::Option<crate::net_anisota::feed::draft::ReplyRef<'a>>, 40 40 /// Additional hashtags, in addition to any included in post text and facets. 41 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 42 #[serde(borrow)] 43 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 43 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 44 44 /// The primary post content. May be an empty string, if there are embeds. 45 45 #[serde(borrow)] 46 46 pub text: jacquard_common::CowStr<'a>, 47 47 /// Client-declared timestamp when this draft was last updated. 48 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 49 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 49 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 50 50 } 51 51 52 52 pub mod draft_state {
+3 -3
crates/jacquard-api/src/net_anisota/feed/list.rs
··· 21 21 /// Optional avatar image for the list 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 /// When the list was created 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 /// Optional description of the list 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// Display name for the list 32 32 #[serde(borrow)] 33 33 pub name: jacquard_common::CowStr<'a>, 34 34 /// Tags for categorizing the list 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 37 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 38 38 } 39 39 40 40 pub mod list_state {
+6 -6
crates/jacquard-api/src/net_anisota/feed/post.rs
··· 22 22 pub created_at: jacquard_common::types::string::Datetime, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub embed: Option<PostEmbed<'a>>, 25 + pub embed: std::option::Option<PostEmbed<'a>>, 26 26 /// Annotations of text (mentions, URLs, hashtags, etc) 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 29 + pub facets: std::option::Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 30 30 /// Self-label values for this post. Effectively content warnings. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 33 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 34 34 /// Indicates human language of post primary text content. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 - pub langs: Option<Vec<jacquard_common::types::string::Language>>, 36 + pub langs: std::option::Option<Vec<jacquard_common::types::string::Language>>, 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub reply: Option<crate::net_anisota::feed::post::ReplyRef<'a>>, 39 + pub reply: std::option::Option<crate::net_anisota::feed::post::ReplyRef<'a>>, 40 40 /// Additional hashtags, in addition to any included in post text and facets. 41 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 42 #[serde(borrow)] 43 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 43 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 44 44 /// The primary post content. May be an empty string, if there are embeds. 45 45 #[serde(borrow)] 46 46 pub text: jacquard_common::CowStr<'a>,
+8 -4
crates/jacquard-api/src/net_anisota/graph/list_mute.rs
··· 281 281 /// Types of content to mute from accounts on this list 282 282 #[serde(skip_serializing_if = "std::option::Option::is_none")] 283 283 #[serde(borrow)] 284 - pub content_types: Option<crate::net_anisota::graph::list_mute::ContentTypes<'a>>, 284 + pub content_types: std::option::Option< 285 + crate::net_anisota::graph::list_mute::ContentTypes<'a>, 286 + >, 285 287 /// When the mute was created 286 288 pub created_at: jacquard_common::types::string::Datetime, 287 289 /// When this mute expires. If not set, mute is permanent 288 290 #[serde(skip_serializing_if = "std::option::Option::is_none")] 289 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 291 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 290 292 /// Optional reason for muting this list 291 293 #[serde(skip_serializing_if = "std::option::Option::is_none")] 292 294 #[serde(borrow)] 293 - pub reason: Option<jacquard_common::CowStr<'a>>, 295 + pub reason: std::option::Option<jacquard_common::CowStr<'a>>, 294 296 /// AT-URI of the list to mute (app.bsky.graph.list record) 295 297 #[serde(borrow)] 296 298 pub subject: jacquard_common::types::string::AtUri<'a>, 297 299 /// Specific feeds where this mute should apply. If empty, applies to all feeds 298 300 #[serde(skip_serializing_if = "std::option::Option::is_none")] 299 301 #[serde(borrow)] 300 - pub target_feeds: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 302 + pub target_feeds: std::option::Option< 303 + Vec<jacquard_common::types::string::AtUri<'a>>, 304 + >, 301 305 } 302 306 303 307 pub mod list_mute_state {
+8 -4
crates/jacquard-api/src/net_anisota/graph/mute.rs
··· 281 281 /// Types of content to mute from this account 282 282 #[serde(skip_serializing_if = "std::option::Option::is_none")] 283 283 #[serde(borrow)] 284 - pub content_types: Option<crate::net_anisota::graph::mute::ContentTypes<'a>>, 284 + pub content_types: std::option::Option< 285 + crate::net_anisota::graph::mute::ContentTypes<'a>, 286 + >, 285 287 /// When the mute was created 286 288 pub created_at: jacquard_common::types::string::Datetime, 287 289 /// When this mute expires. If not set, mute is permanent 288 290 #[serde(skip_serializing_if = "std::option::Option::is_none")] 289 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 291 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 290 292 /// Optional reason for muting this account 291 293 #[serde(skip_serializing_if = "std::option::Option::is_none")] 292 294 #[serde(borrow)] 293 - pub reason: Option<jacquard_common::CowStr<'a>>, 295 + pub reason: std::option::Option<jacquard_common::CowStr<'a>>, 294 296 /// DID of the account to mute 295 297 #[serde(borrow)] 296 298 pub subject: jacquard_common::types::string::Did<'a>, 297 299 /// Specific feeds where this mute should apply. If empty, applies to all feeds 298 300 #[serde(skip_serializing_if = "std::option::Option::is_none")] 299 301 #[serde(borrow)] 300 - pub target_feeds: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 302 + pub target_feeds: std::option::Option< 303 + Vec<jacquard_common::types::string::AtUri<'a>>, 304 + >, 301 305 } 302 306 303 307 pub mod mute_state {
+9 -5
crates/jacquard-api/src/net_anisota/settings.rs
··· 3793 3793 pub struct Settings<'a> { 3794 3794 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3795 3795 #[serde(borrow)] 3796 - pub behavior_settings: Option<crate::net_anisota::settings::BehaviorSettings<'a>>, 3796 + pub behavior_settings: std::option::Option< 3797 + crate::net_anisota::settings::BehaviorSettings<'a>, 3798 + >, 3797 3799 /// Order of control buttons 3798 3800 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3799 3801 #[serde(borrow)] 3800 - pub control_order: Option<Vec<jacquard_common::CowStr<'a>>>, 3802 + pub control_order: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 3801 3803 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3802 3804 #[serde(borrow)] 3803 - pub control_settings: Option<crate::net_anisota::settings::ControlSettings<'a>>, 3805 + pub control_settings: std::option::Option< 3806 + crate::net_anisota::settings::ControlSettings<'a>, 3807 + >, 3804 3808 /// When the settings record was first created 3805 3809 pub created_at: jacquard_common::types::string::Datetime, 3806 3810 /// Selected color theme 3807 3811 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3808 3812 #[serde(borrow)] 3809 - pub theme: Option<jacquard_common::CowStr<'a>>, 3813 + pub theme: std::option::Option<jacquard_common::CowStr<'a>>, 3810 3814 #[serde(skip_serializing_if = "std::option::Option::is_none")] 3811 3815 #[serde(borrow)] 3812 - pub ui_settings: Option<crate::net_anisota::settings::UiSettings<'a>>, 3816 + pub ui_settings: std::option::Option<crate::net_anisota::settings::UiSettings<'a>>, 3813 3817 /// When the settings were last updated 3814 3818 pub updated_at: jacquard_common::types::string::Datetime, 3815 3819 /// Settings schema version for backward compatibility
+2 -2
crates/jacquard-api/src/net_bnewbold/demo/mushies.rs
··· 21 21 #[serde(borrow)] 22 22 pub common_name: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub edible: Option<bool>, 24 + pub edible: std::option::Option<bool>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub species: Option<jacquard_common::CowStr<'a>>, 27 + pub species: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 } 29 29 30 30 pub mod mushies_state {
+2 -2
crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs
··· 21 21 #[serde(borrow)] 22 22 pub common_name: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub edible: Option<bool>, 24 + pub edible: std::option::Option<bool>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub species: Option<jacquard_common::CowStr<'a>>, 27 + pub species: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 } 29 29 30 30 pub mod mushroom_state {
+2 -2
crates/jacquard-api/src/net_bnewbold/m.rs
··· 21 21 #[serde(borrow)] 22 22 pub common_name: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub edible: Option<bool>, 24 + pub edible: std::option::Option<bool>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub species: Option<jacquard_common::CowStr<'a>>, 27 + pub species: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 } 29 29 30 30 pub mod m_state {
+1 -1
crates/jacquard-api/src/net_mmatt/right/now.rs
··· 23 23 /// The emoji of the status update 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub emoji: Option<jacquard_common::CowStr<'a>>, 26 + pub emoji: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// The text of the status update 28 28 #[serde(borrow)] 29 29 pub text: jacquard_common::CowStr<'a>,
+3 -3
crates/jacquard-api/src/net_mmatt/vitals/car.rs
··· 25 25 /// The car make value 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub car_make: Option<jacquard_common::CowStr<'a>>, 28 + pub car_make: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// The car model value 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub car_model: Option<jacquard_common::CowStr<'a>>, 32 + pub car_model: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// The car fuel level value in percentage (floating point string) 34 34 #[serde(borrow)] 35 35 pub car_percent_fuel_remaining: jacquard_common::CowStr<'a>, ··· 37 37 pub car_traveled_distance: i64, 38 38 /// The car year value 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub car_year: Option<i64>, 40 + pub car_year: std::option::Option<i64>, 41 41 /// The unix timestamp of when the vital was recorded 42 42 pub created_at: jacquard_common::types::string::Datetime, 43 43 }
+2 -2
crates/jacquard-api/src/net_wafrn/feed/bite.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Bite<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub created_at: Option<jacquard_common::types::string::Datetime>, 22 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub subject: Option<jacquard_common::CowStr<'a>>, 25 + pub subject: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 } 27 27 28 28 pub mod bite_state {
+4 -2
crates/jacquard-api/src/net_wafrn/feed/explode.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Explode<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub created_at: Option<jacquard_common::types::string::Datetime>, 22 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub subject: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 25 + pub subject: std::option::Option< 26 + crate::com_atproto::repo::strong_ref::StrongRef<'a>, 27 + >, 26 28 } 27 29 28 30 pub mod explode_state {
+3 -3
crates/jacquard-api/src/network_slices/actor.rs
··· 21 21 pub struct ProfileViewBasic<'a> { 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::CowStr<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::CowStr<'a>>, 25 25 /// Free-form profile description text. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub description: Option<jacquard_common::CowStr<'a>>, 28 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 #[serde(borrow)] 30 30 pub did: jacquard_common::types::string::Did<'a>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub display_name: Option<jacquard_common::CowStr<'a>>, 33 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 #[serde(borrow)] 35 35 pub handle: jacquard_common::types::string::Handle<'a>, 36 36 }
+4 -4
crates/jacquard-api/src/network_slices/actor/profile.rs
··· 21 21 /// Small image to be displayed next to posts from account. AKA, 'profile picture' 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub created_at: Option<jacquard_common::types::string::Datetime>, 26 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 27 27 /// Free-form profile description text. 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub display_name: Option<jacquard_common::CowStr<'a>>, 33 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 } 35 35 36 36 pub mod profile_state {
+3 -3
crates/jacquard-api/src/network_slices/lexicon.rs
··· 25 25 /// Human-readable description of the lexicon 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub description: Option<jacquard_common::CowStr<'a>>, 28 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// Whether this lexicon should be excluded from sync operations 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 - pub excluded_from_sync: Option<bool>, 31 + pub excluded_from_sync: std::option::Option<bool>, 32 32 /// Namespaced identifier for the lexicon 33 33 #[serde(borrow)] 34 34 pub nsid: jacquard_common::CowStr<'a>, ··· 37 37 pub slice: jacquard_common::types::string::AtUri<'a>, 38 38 /// When the lexicon was last updated 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 40 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 41 41 } 42 42 43 43 pub mod lexicon_state {
+8 -6
crates/jacquard-api/src/network_slices/slice.rs
··· 445 445 pub domain: jacquard_common::CowStr<'a>, 446 446 /// Total number of unique indexed actors in this slice 447 447 #[serde(skip_serializing_if = "std::option::Option::is_none")] 448 - pub indexed_actor_count: Option<i64>, 448 + pub indexed_actor_count: std::option::Option<i64>, 449 449 /// Number of collections with indexed records 450 450 #[serde(skip_serializing_if = "std::option::Option::is_none")] 451 - pub indexed_collection_count: Option<i64>, 451 + pub indexed_collection_count: std::option::Option<i64>, 452 452 /// Total number of indexed records in this slice 453 453 #[serde(skip_serializing_if = "std::option::Option::is_none")] 454 - pub indexed_record_count: Option<i64>, 454 + pub indexed_record_count: std::option::Option<i64>, 455 455 /// Display name of the slice 456 456 #[serde(borrow)] 457 457 pub name: jacquard_common::CowStr<'a>, 458 458 /// Recent activity sparkline data points for the last 24 hours 459 459 #[serde(skip_serializing_if = "std::option::Option::is_none")] 460 460 #[serde(borrow)] 461 - pub sparkline: Option<Vec<crate::network_slices::slice::SparklinePoint<'a>>>, 461 + pub sparkline: std::option::Option< 462 + Vec<crate::network_slices::slice::SparklinePoint<'a>>, 463 + >, 462 464 #[serde(borrow)] 463 465 pub uri: jacquard_common::types::string::AtUri<'a>, 464 466 /// Total number of waitlist invites for this slice 465 467 #[serde(skip_serializing_if = "std::option::Option::is_none")] 466 - pub waitlist_invite_count: Option<i64>, 468 + pub waitlist_invite_count: std::option::Option<i64>, 467 469 /// Total number of waitlist requests for this slice 468 470 #[serde(skip_serializing_if = "std::option::Option::is_none")] 469 - pub waitlist_request_count: Option<i64>, 471 + pub waitlist_request_count: std::option::Option<i64>, 470 472 } 471 473 472 474 pub mod slice_view_state {
+7 -7
crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs
··· 23 23 /// URI of the client application 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub client_uri: Option<jacquard_common::types::string::Uri<'a>>, 26 + pub client_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 27 27 /// OAuth grant types 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub grant_types: Option<Vec<jacquard_common::CowStr<'a>>>, 30 + pub grant_types: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 31 31 /// URI of the client logo 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub logo_uri: Option<jacquard_common::types::string::Uri<'a>>, 34 + pub logo_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 35 35 /// URI of the privacy policy 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub policy_uri: Option<jacquard_common::types::string::Uri<'a>>, 38 + pub policy_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 39 39 /// Allowed redirect URIs for OAuth flow (must use HTTP or HTTPS) 40 40 #[serde(borrow)] 41 41 pub redirect_uris: Vec<jacquard_common::types::string::Uri<'a>>, 42 42 /// OAuth response types 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub response_types: Option<Vec<jacquard_common::CowStr<'a>>>, 45 + pub response_types: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 46 46 /// OAuth scope 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub scope: Option<jacquard_common::CowStr<'a>>, 49 + pub scope: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 /// AT-URI of the slice to register the OAuth client for 51 51 #[serde(borrow)] 52 52 pub slice_uri: jacquard_common::CowStr<'a>, 53 53 /// URI of the terms of service 54 54 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 55 #[serde(borrow)] 56 - pub tos_uri: Option<jacquard_common::types::string::Uri<'a>>, 56 + pub tos_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 57 57 } 58 58 59 59 pub mod create_o_auth_client_state {
+1 -1
crates/jacquard-api/src/network_slices/slice/get_actors.rs
··· 23 23 /// Human-readable handle of the actor 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub handle: Option<jacquard_common::types::string::Handle<'a>>, 26 + pub handle: std::option::Option<jacquard_common::types::string::Handle<'a>>, 27 27 /// When this actor was indexed 28 28 pub indexed_at: jacquard_common::types::string::Datetime, 29 29 /// AT-URI of the slice this actor is indexed in
+4 -4
crates/jacquard-api/src/network_slices/slice/get_job_logs.rs
··· 24 24 /// UUID of related job if applicable 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub job_id: Option<jacquard_common::CowStr<'a>>, 27 + pub job_id: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// Log level 29 29 #[serde(borrow)] 30 30 pub level: jacquard_common::CowStr<'a>, ··· 37 37 /// Additional metadata associated with the log entry 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub metadata: Option<jacquard_common::types::value::Data<'a>>, 40 + pub metadata: std::option::Option<jacquard_common::types::value::Data<'a>>, 41 41 /// AT-URI of related slice if applicable 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub slice_uri: Option<jacquard_common::CowStr<'a>>, 44 + pub slice_uri: std::option::Option<jacquard_common::CowStr<'a>>, 45 45 /// DID of related user if applicable 46 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 47 47 #[serde(borrow)] 48 - pub user_did: Option<jacquard_common::types::string::Did<'a>>, 48 + pub user_did: std::option::Option<jacquard_common::types::string::Did<'a>>, 49 49 } 50 50 51 51 pub mod log_entry_state {
+6 -4
crates/jacquard-api/src/network_slices/slice/get_job_status.rs
··· 19 19 pub struct JobStatus<'a> { 20 20 /// When the job completed 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub completed_at: Option<jacquard_common::types::string::Datetime>, 22 + pub completed_at: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 /// When the job was created 24 24 pub created_at: jacquard_common::types::string::Datetime, 25 25 /// Error message if job failed 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub error: Option<jacquard_common::CowStr<'a>>, 28 + pub error: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// UUID of the job 30 30 #[serde(borrow)] 31 31 pub job_id: jacquard_common::CowStr<'a>, 32 32 /// Job result if completed successfully 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub result: Option<crate::network_slices::slice::get_job_status::SyncJobResult<'a>>, 35 + pub result: std::option::Option< 36 + crate::network_slices::slice::get_job_status::SyncJobResult<'a>, 37 + >, 36 38 /// Number of times the job has been retried 37 39 pub retry_count: i64, 38 40 /// When the job started executing 39 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub started_at: Option<jacquard_common::types::string::Datetime>, 42 + pub started_at: std::option::Option<jacquard_common::types::string::Datetime>, 41 43 /// Current status of the job 42 44 #[serde(borrow)] 43 45 pub status: jacquard_common::CowStr<'a>,
+6 -6
crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs
··· 174 174 /// OAuth client secret (only returned on creation) 175 175 #[serde(skip_serializing_if = "std::option::Option::is_none")] 176 176 #[serde(borrow)] 177 - pub client_secret: Option<jacquard_common::CowStr<'a>>, 177 + pub client_secret: std::option::Option<jacquard_common::CowStr<'a>>, 178 178 /// URI of the client application 179 179 #[serde(skip_serializing_if = "std::option::Option::is_none")] 180 180 #[serde(borrow)] 181 - pub client_uri: Option<jacquard_common::types::string::Uri<'a>>, 181 + pub client_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 182 182 /// When the OAuth client was created 183 183 pub created_at: jacquard_common::types::string::Datetime, 184 184 /// DID of the user who created this client ··· 190 190 /// URI of the client logo 191 191 #[serde(skip_serializing_if = "std::option::Option::is_none")] 192 192 #[serde(borrow)] 193 - pub logo_uri: Option<jacquard_common::types::string::Uri<'a>>, 193 + pub logo_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 194 194 /// URI of the privacy policy 195 195 #[serde(skip_serializing_if = "std::option::Option::is_none")] 196 196 #[serde(borrow)] 197 - pub policy_uri: Option<jacquard_common::types::string::Uri<'a>>, 197 + pub policy_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 198 198 /// Allowed redirect URIs for OAuth flow 199 199 #[serde(borrow)] 200 200 pub redirect_uris: Vec<jacquard_common::types::string::Uri<'a>>, ··· 204 204 /// OAuth scope 205 205 #[serde(skip_serializing_if = "std::option::Option::is_none")] 206 206 #[serde(borrow)] 207 - pub scope: Option<jacquard_common::CowStr<'a>>, 207 + pub scope: std::option::Option<jacquard_common::CowStr<'a>>, 208 208 /// URI of the terms of service 209 209 #[serde(skip_serializing_if = "std::option::Option::is_none")] 210 210 #[serde(borrow)] 211 - pub tos_uri: Option<jacquard_common::types::string::Uri<'a>>, 211 + pub tos_uri: std::option::Option<jacquard_common::types::string::Uri<'a>>, 212 212 } 213 213 214 214 pub mod oauth_client_details_state {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_sparklines.rs
··· 20 20 /// Time range to fetch data for 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub duration: Option<jacquard_common::CowStr<'a>>, 23 + pub duration: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Time interval for data points 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub interval: Option<jacquard_common::CowStr<'a>>, 27 + pub interval: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// Array of slice AT-URIs to get sparkline data for 29 29 #[serde(borrow)] 30 30 pub slices: Vec<jacquard_common::CowStr<'a>>,
+4 -4
crates/jacquard-api/src/network_slices/waitlist.rs
··· 28 28 pub did: jacquard_common::types::string::Did<'a>, 29 29 /// Optional expiration date for this invitation 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 31 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 32 32 /// Profile of the invitee 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub profile: Option<crate::app_bsky::actor::ProfileViewBasic<'a>>, 35 + pub profile: std::option::Option<crate::app_bsky::actor::ProfileViewBasic<'a>>, 36 36 /// The AT URI of the slice this invite is for 37 37 #[serde(borrow)] 38 38 pub slice: jacquard_common::types::string::AtUri<'a>, 39 39 /// The AT URI of this invite record 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[serde(borrow)] 42 - pub uri: Option<jacquard_common::types::string::AtUri<'a>>, 42 + pub uri: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 43 43 } 44 44 45 45 pub mod invite_view_state { ··· 551 551 /// Profile of the requester 552 552 #[serde(skip_serializing_if = "std::option::Option::is_none")] 553 553 #[serde(borrow)] 554 - pub profile: Option<crate::app_bsky::actor::ProfileViewBasic<'a>>, 554 + pub profile: std::option::Option<crate::app_bsky::actor::ProfileViewBasic<'a>>, 555 555 /// The AT URI of the slice being requested access to 556 556 #[serde(borrow)] 557 557 pub slice: jacquard_common::types::string::AtUri<'a>,
+1 -1
crates/jacquard-api/src/network_slices/waitlist/invite.rs
··· 25 25 pub did: jacquard_common::types::string::Did<'a>, 26 26 /// Optional expiration date for this invitation 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 - pub expires_at: Option<jacquard_common::types::string::Datetime>, 28 + pub expires_at: std::option::Option<jacquard_common::types::string::Datetime>, 29 29 /// The AT URI of the slice this invite is for 30 30 #[serde(borrow)] 31 31 pub slice: jacquard_common::types::string::AtUri<'a>,
+4 -4
crates/jacquard-api/src/org_devcon/event/test.rs
··· 18 18 #[serde(rename_all = "camelCase")] 19 19 pub struct Test<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 - pub created_at: Option<jacquard_common::types::string::Datetime>, 21 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 22 22 /// Description of the event 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub description: Option<jacquard_common::CowStr<'a>>, 25 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 /// End time of the event 27 27 pub end: jacquard_common::types::string::Datetime, 28 28 /// Location of the event 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub location: Option<jacquard_common::CowStr<'a>>, 31 + pub location: std::option::Option<jacquard_common::CowStr<'a>>, 32 32 /// Start time of the event 33 33 pub start: jacquard_common::types::string::Datetime, 34 34 /// Title of the event ··· 37 37 /// URL of the event 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub url: Option<jacquard_common::CowStr<'a>>, 40 + pub url: std::option::Option<jacquard_common::CowStr<'a>>, 41 41 } 42 42 43 43 pub mod test_state {
+9 -9
crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs
··· 20 20 pub struct Cl022<'a> { 21 21 /// Date when added to the list 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub added: Option<jacquard_common::types::string::Datetime>, 23 + pub added: std::option::Option<jacquard_common::types::string::Datetime>, 24 24 /// Comment 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub comment: Option<jacquard_common::CowStr<'a>>, 27 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// Denominator used for all fertilizer content properties 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub denominator: Option<i64>, 30 + pub denominator: std::option::Option<i64>, 31 31 /// Description / name of the fertilizer 32 32 #[serde(borrow)] 33 33 pub description: jacquard_common::CowStr<'a>, ··· 36 36 pub id: crate::org_farmapps::temp::ecrop::CodeType<'a>, 37 37 /// <unit> Potassium oxide content of this fertilizer 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 - pub k2o: Option<i64>, 39 + pub k2o: std::option::Option<i64>, 40 40 /// <unit> Nitrogen content of this fertilizer 41 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 - pub n: Option<i64>, 42 + pub n: std::option::Option<i64>, 43 43 /// <unit> Phosphate content of this fertilizer 44 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 - pub p2o5: Option<i64>, 45 + pub p2o5: std::option::Option<i64>, 46 46 /// Fertlizer type 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub r#type: Option<jacquard_common::CowStr<'a>>, 49 + pub r#type: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 /// Unit 51 51 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 52 #[serde(borrow)] 53 - pub unit: Option<jacquard_common::CowStr<'a>>, 53 + pub unit: std::option::Option<jacquard_common::CowStr<'a>>, 54 54 /// Date when updated 55 55 #[serde(skip_serializing_if = "std::option::Option::is_none")] 56 - pub updated: Option<jacquard_common::types::string::Datetime>, 56 + pub updated: std::option::Option<jacquard_common::types::string::Datetime>, 57 57 } 58 58 59 59 pub mod cl022_state {
+2 -2
crates/jacquard-api/src/org_robocracy/demo/fungus.rs
··· 21 21 #[serde(borrow)] 22 22 pub common_name: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub edible: Option<bool>, 24 + pub edible: std::option::Option<bool>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub species: Option<jacquard_common::CowStr<'a>>, 27 + pub species: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 } 29 29 30 30 pub mod fungus_state {
+2 -2
crates/jacquard-api/src/org_robocracy/demo/mushies.rs
··· 21 21 #[serde(borrow)] 22 22 pub common_name: jacquard_common::CowStr<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 - pub edible: Option<bool>, 24 + pub edible: std::option::Option<bool>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub species: Option<jacquard_common::CowStr<'a>>, 27 + pub species: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 } 29 29 30 30 pub mod mushies_state {
+3 -1
crates/jacquard-api/src/place_atwork/endorsement.rs
··· 29 29 /// Verified signatures from endorsement proofs (strong references). 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub signatures: Option<Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>>, 32 + pub signatures: std::option::Option< 33 + Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 34 + >, 33 35 /// The endorsement text content. 34 36 #[serde(borrow)] 35 37 pub text: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/place_atwork/get_listings.rs
··· 27 27 /// The full job listing record 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub value: Option<crate::place_atwork::listing::Listing<'a>>, 30 + pub value: std::option::Option<crate::place_atwork::listing::Listing<'a>>, 31 31 } 32 32 33 33 pub mod listing_record_state {
+6 -4
crates/jacquard-api/src/place_atwork/listing.rs
··· 21 21 /// URL where applicants can apply for the job. 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub apply_link: Option<jacquard_common::types::string::Uri<'a>>, 24 + pub apply_link: std::option::Option<jacquard_common::types::string::Uri<'a>>, 25 25 /// Larger horizontal image to display behind job listing view. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 28 + pub banner: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 /// The description of the job listing. 30 30 #[serde(borrow)] 31 31 pub description: jacquard_common::CowStr<'a>, 32 32 /// Annotations of text (mentions, URLs, hashtags, etc). 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 35 + pub facets: std::option::Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 36 36 /// Locations that are relevant to the job listing. 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub locations: Option<Vec<crate::community_lexicon::location::hthree::Hthree<'a>>>, 39 + pub locations: std::option::Option< 40 + Vec<crate::community_lexicon::location::hthree::Hthree<'a>>, 41 + >, 40 42 /// Client-declared timestamp when the job listing expires. 41 43 pub not_after: jacquard_common::types::string::Datetime, 42 44 /// Client-declared timestamp when the job listing becomes visible.
+8 -8
crates/jacquard-api/src/place_atwork/profile.rs
··· 57 57 /// Small image to be displayed next to job listings from account. AKA, 'profile picture' 58 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 59 59 #[serde(borrow)] 60 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 60 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 61 61 /// Larger horizontal image to display behind profile view. 62 62 #[serde(skip_serializing_if = "std::option::Option::is_none")] 63 63 #[serde(borrow)] 64 - pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 64 + pub banner: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 65 65 /// A free text description of the identity. 66 66 #[serde(skip_serializing_if = "std::option::Option::is_none")] 67 67 #[serde(borrow)] 68 - pub description: Option<jacquard_common::CowStr<'a>>, 68 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 69 69 /// The display name of the identity. 70 70 #[serde(skip_serializing_if = "std::option::Option::is_none")] 71 71 #[serde(borrow)] 72 - pub display_name: Option<jacquard_common::CowStr<'a>>, 72 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 73 73 /// Annotations of text (mentions, URLs, hashtags, etc) in the description. 74 74 #[serde(skip_serializing_if = "std::option::Option::is_none")] 75 75 #[serde(borrow)] 76 - pub facets: Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 76 + pub facets: std::option::Option<Vec<crate::app_bsky::richtext::facet::Facet<'a>>>, 77 77 /// The service used for profile links 78 78 #[serde(skip_serializing_if = "std::option::Option::is_none")] 79 79 #[serde(borrow)] 80 - pub profile_host: Option<jacquard_common::CowStr<'a>>, 80 + pub profile_host: std::option::Option<jacquard_common::CowStr<'a>>, 81 81 /// The identity's resume. 82 82 #[serde(skip_serializing_if = "std::option::Option::is_none")] 83 83 #[serde(borrow)] 84 - pub resume: Option<jacquard_common::types::blob::BlobRef<'a>>, 84 + pub resume: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 85 85 /// The current status of the identity. 86 86 #[serde(skip_serializing_if = "std::option::Option::is_none")] 87 87 #[serde(borrow)] 88 - pub status: Option<jacquard_common::CowStr<'a>>, 88 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 89 89 } 90 90 91 91 pub mod profile_state {
+1 -1
crates/jacquard-api/src/place_atwork/search_listings.rs
··· 27 27 /// The full job listing record 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub value: Option<crate::place_atwork::listing::Listing<'a>>, 30 + pub value: std::option::Option<crate::place_atwork::listing::Listing<'a>>, 31 31 } 32 32 33 33 pub mod listing_record_state {
+3 -3
crates/jacquard-api/src/place_stream/broadcast/origin.rs
··· 21 21 /// did of the broadcaster that operates the server syndicating the livestream 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub broadcaster: Option<jacquard_common::types::string::Did<'a>>, 24 + pub broadcaster: std::option::Option<jacquard_common::types::string::Did<'a>>, 25 25 /// Iroh ticket that can be used to access the livestream from the server 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub iroh_ticket: Option<jacquard_common::CowStr<'a>>, 28 + pub iroh_ticket: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// did of the server that's currently rebroadcasting the livestream 30 30 #[serde(borrow)] 31 31 pub server: jacquard_common::types::string::Did<'a>, ··· 37 37 /// URL of the websocket endpoint for the livestream 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub websocket_url: Option<jacquard_common::types::string::Uri<'a>>, 40 + pub websocket_url: std::option::Option<jacquard_common::types::string::Uri<'a>>, 41 41 } 42 42 43 43 pub mod origin_state {
+5 -3
crates/jacquard-api/src/place_stream/chat.rs
··· 25 25 pub author: crate::app_bsky::actor::ProfileViewBasic<'a>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub chat_profile: Option<crate::place_stream::chat::profile::Profile<'a>>, 28 + pub chat_profile: std::option::Option< 29 + crate::place_stream::chat::profile::Profile<'a>, 30 + >, 29 31 #[serde(borrow)] 30 32 pub cid: jacquard_common::types::string::Cid<'a>, 31 33 /// If true, this message has been deleted or labeled and should be cleared from the cache 32 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 - pub deleted: Option<bool>, 35 + pub deleted: std::option::Option<bool>, 34 36 pub indexed_at: jacquard_common::types::string::Datetime, 35 37 #[serde(borrow)] 36 38 pub record: jacquard_common::types::value::Data<'a>, 37 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 40 #[serde(borrow)] 39 - pub reply_to: Option<MessageViewReplyTo<'a>>, 41 + pub reply_to: std::option::Option<MessageViewReplyTo<'a>>, 40 42 #[serde(borrow)] 41 43 pub uri: jacquard_common::types::string::AtUri<'a>, 42 44 }
+4 -2
crates/jacquard-api/src/place_stream/chat/message.rs
··· 23 23 /// Annotations of text (mentions, URLs, etc) 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub facets: Option<Vec<crate::place_stream::richtext::facet::Facet<'a>>>, 26 + pub facets: std::option::Option< 27 + Vec<crate::place_stream::richtext::facet::Facet<'a>>, 28 + >, 27 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 30 #[serde(borrow)] 29 - pub reply: Option<crate::place_stream::chat::message::ReplyRef<'a>>, 31 + pub reply: std::option::Option<crate::place_stream::chat::message::ReplyRef<'a>>, 30 32 /// The DID of the streamer whose chat this is. 31 33 #[serde(borrow)] 32 34 pub streamer: jacquard_common::types::string::Did<'a>,
+1 -1
crates/jacquard-api/src/place_stream/chat/profile.rs
··· 403 403 pub struct Profile<'a> { 404 404 #[serde(skip_serializing_if = "std::option::Option::is_none")] 405 405 #[serde(borrow)] 406 - pub color: Option<crate::place_stream::chat::profile::Color<'a>>, 406 + pub color: std::option::Option<crate::place_stream::chat::profile::Color<'a>>, 407 407 } 408 408 409 409 pub mod profile_state {
+1 -1
crates/jacquard-api/src/place_stream/key.rs
··· 23 23 /// The name of the client that created this key. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub created_by: Option<jacquard_common::CowStr<'a>>, 26 + pub created_by: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// The did:key signing key for the stream. 28 28 #[serde(borrow)] 29 29 pub signing_key: jacquard_common::CowStr<'a>,
+9 -7
crates/jacquard-api/src/place_stream/livestream.rs
··· 29 29 /// The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly. 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub viewer_count: Option<crate::place_stream::livestream::ViewerCount<'a>>, 32 + pub viewer_count: std::option::Option< 33 + crate::place_stream::livestream::ViewerCount<'a>, 34 + >, 33 35 } 34 36 35 37 pub mod livestream_view_state { ··· 699 701 /// The source of the livestream, if available, in a User Agent format: `<product> / <product-version> <comment>` e.g. Streamplace/0.7.5 iOS 700 702 #[serde(skip_serializing_if = "std::option::Option::is_none")] 701 703 #[serde(borrow)] 702 - pub agent: Option<jacquard_common::CowStr<'a>>, 704 + pub agent: std::option::Option<jacquard_common::CowStr<'a>>, 703 705 /// The primary URL where this livestream can be viewed, if available. 704 706 #[serde(skip_serializing_if = "std::option::Option::is_none")] 705 707 #[serde(borrow)] 706 - pub canonical_url: Option<jacquard_common::types::string::Uri<'a>>, 708 + pub canonical_url: std::option::Option<jacquard_common::types::string::Uri<'a>>, 707 709 /// Client-declared timestamp when this livestream started. 708 710 pub created_at: jacquard_common::types::string::Datetime, 709 711 #[serde(skip_serializing_if = "std::option::Option::is_none")] 710 712 #[serde(borrow)] 711 - pub notification_settings: Option< 713 + pub notification_settings: std::option::Option< 712 714 crate::place_stream::livestream::NotificationSettings<'a>, 713 715 >, 714 716 /// The post that announced this livestream. 715 717 #[serde(skip_serializing_if = "std::option::Option::is_none")] 716 718 #[serde(borrow)] 717 - pub post: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 719 + pub post: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 718 720 #[serde(skip_serializing_if = "std::option::Option::is_none")] 719 721 #[serde(borrow)] 720 - pub thumb: Option<jacquard_common::types::blob::BlobRef<'a>>, 722 + pub thumb: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 721 723 /// The title of the livestream, as it will be announced to followers. 722 724 #[serde(borrow)] 723 725 pub title: jacquard_common::CowStr<'a>, 724 726 /// The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream. 725 727 #[serde(skip_serializing_if = "std::option::Option::is_none")] 726 728 #[serde(borrow)] 727 - pub url: Option<jacquard_common::types::string::Uri<'a>>, 729 + pub url: std::option::Option<jacquard_common::types::string::Uri<'a>>, 728 730 } 729 731 730 732 pub mod livestream_state {
+3 -3
crates/jacquard-api/src/place_stream/metadata/configuration.rs
··· 20 20 pub struct Configuration<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub content_rights: Option< 23 + pub content_rights: std::option::Option< 24 24 crate::place_stream::metadata::content_rights::ContentRights<'a>, 25 25 >, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub content_warnings: Option< 28 + pub content_warnings: std::option::Option< 29 29 crate::place_stream::metadata::content_warnings::ContentWarnings<'a>, 30 30 >, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub distribution_policy: Option< 33 + pub distribution_policy: std::option::Option< 34 34 crate::place_stream::metadata::distribution_policy::DistributionPolicy<'a>, 35 35 >, 36 36 }
+9 -9
crates/jacquard-api/src/place_stream/segment.rs
··· 816 816 pub struct Segment<'a> { 817 817 #[serde(skip_serializing_if = "std::option::Option::is_none")] 818 818 #[serde(borrow)] 819 - pub audio: Option<Vec<crate::place_stream::segment::Audio<'a>>>, 819 + pub audio: std::option::Option<Vec<crate::place_stream::segment::Audio<'a>>>, 820 820 #[serde(skip_serializing_if = "std::option::Option::is_none")] 821 821 #[serde(borrow)] 822 - pub content_rights: Option< 822 + pub content_rights: std::option::Option< 823 823 crate::place_stream::metadata::content_rights::ContentRights<'a>, 824 824 >, 825 825 #[serde(skip_serializing_if = "std::option::Option::is_none")] 826 826 #[serde(borrow)] 827 - pub content_warnings: Option< 827 + pub content_warnings: std::option::Option< 828 828 crate::place_stream::metadata::content_warnings::ContentWarnings<'a>, 829 829 >, 830 830 #[serde(borrow)] 831 831 pub creator: jacquard_common::types::string::Did<'a>, 832 832 #[serde(skip_serializing_if = "std::option::Option::is_none")] 833 833 #[serde(borrow)] 834 - pub distribution_policy: Option< 834 + pub distribution_policy: std::option::Option< 835 835 crate::place_stream::metadata::distribution_policy::DistributionPolicy<'a>, 836 836 >, 837 837 /// The duration of the segment in nanoseconds 838 838 #[serde(skip_serializing_if = "std::option::Option::is_none")] 839 - pub duration: Option<i64>, 839 + pub duration: std::option::Option<i64>, 840 840 /// Unique identifier for the segment 841 841 #[serde(borrow)] 842 842 pub id: jacquard_common::CowStr<'a>, ··· 845 845 pub signing_key: jacquard_common::CowStr<'a>, 846 846 /// The size of the segment in bytes 847 847 #[serde(skip_serializing_if = "std::option::Option::is_none")] 848 - pub size: Option<i64>, 848 + pub size: std::option::Option<i64>, 849 849 /// When this segment started 850 850 pub start_time: jacquard_common::types::string::Datetime, 851 851 #[serde(skip_serializing_if = "std::option::Option::is_none")] 852 852 #[serde(borrow)] 853 - pub video: Option<Vec<crate::place_stream::segment::Video<'a>>>, 853 + pub video: std::option::Option<Vec<crate::place_stream::segment::Video<'a>>>, 854 854 } 855 855 856 856 pub mod segment_state { ··· 1509 1509 #[serde(rename_all = "camelCase")] 1510 1510 pub struct Video<'a> { 1511 1511 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1512 - pub bframes: Option<bool>, 1512 + pub bframes: std::option::Option<bool>, 1513 1513 #[serde(borrow)] 1514 1514 pub codec: jacquard_common::CowStr<'a>, 1515 1515 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1516 1516 #[serde(borrow)] 1517 - pub framerate: Option<crate::place_stream::segment::Framerate<'a>>, 1517 + pub framerate: std::option::Option<crate::place_stream::segment::Framerate<'a>>, 1518 1518 pub height: i64, 1519 1519 pub width: i64, 1520 1520 }
+9 -9
crates/jacquard-api/src/place_stream/server.rs
··· 479 479 /// A description of what this webhook is used for. 480 480 #[serde(skip_serializing_if = "std::option::Option::is_none")] 481 481 #[serde(borrow)] 482 - pub description: Option<jacquard_common::CowStr<'a>>, 482 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 483 483 /// Number of consecutive errors for this webhook. 484 484 #[serde(skip_serializing_if = "std::option::Option::is_none")] 485 - pub error_count: Option<i64>, 485 + pub error_count: std::option::Option<i64>, 486 486 /// The types of events this webhook should receive. 487 487 #[serde(borrow)] 488 488 pub events: Vec<jacquard_common::CowStr<'a>>, ··· 491 491 pub id: jacquard_common::CowStr<'a>, 492 492 /// When this webhook was last triggered. 493 493 #[serde(skip_serializing_if = "std::option::Option::is_none")] 494 - pub last_triggered: Option<jacquard_common::types::string::Datetime>, 494 + pub last_triggered: std::option::Option<jacquard_common::types::string::Datetime>, 495 495 /// Words to filter out from chat messages. Messages containing any of these words will not be forwarded. 496 496 #[serde(skip_serializing_if = "std::option::Option::is_none")] 497 497 #[serde(borrow)] 498 - pub mute_words: Option<Vec<jacquard_common::CowStr<'a>>>, 498 + pub mute_words: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 499 499 /// A user-friendly name for this webhook. 500 500 #[serde(skip_serializing_if = "std::option::Option::is_none")] 501 501 #[serde(borrow)] 502 - pub name: Option<jacquard_common::CowStr<'a>>, 502 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 503 503 /// Text to prepend to webhook messages. 504 504 #[serde(skip_serializing_if = "std::option::Option::is_none")] 505 505 #[serde(borrow)] 506 - pub prefix: Option<jacquard_common::CowStr<'a>>, 506 + pub prefix: std::option::Option<jacquard_common::CowStr<'a>>, 507 507 /// Text replacement rules for webhook messages. 508 508 #[serde(skip_serializing_if = "std::option::Option::is_none")] 509 509 #[serde(borrow)] 510 - pub rewrite: Option<Vec<crate::place_stream::server::RewriteRule<'a>>>, 510 + pub rewrite: std::option::Option<Vec<crate::place_stream::server::RewriteRule<'a>>>, 511 511 /// Text to append to webhook messages. 512 512 #[serde(skip_serializing_if = "std::option::Option::is_none")] 513 513 #[serde(borrow)] 514 - pub suffix: Option<jacquard_common::CowStr<'a>>, 514 + pub suffix: std::option::Option<jacquard_common::CowStr<'a>>, 515 515 /// When this webhook was last updated. 516 516 #[serde(skip_serializing_if = "std::option::Option::is_none")] 517 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 517 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 518 518 /// The webhook URL where events will be sent. 519 519 #[serde(borrow)] 520 520 pub url: jacquard_common::types::string::Uri<'a>,
+7 -7
crates/jacquard-api/src/place_stream/server/create_webhook.rs
··· 19 19 pub struct CreateWebhook<'a> { 20 20 /// Whether this webhook should be active upon creation. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub active: Option<bool>, 22 + pub active: std::option::Option<bool>, 23 23 /// A description of what this webhook is used for. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 /// The types of events this webhook should receive. 28 28 #[serde(borrow)] 29 29 pub events: Vec<jacquard_common::CowStr<'a>>, 30 30 /// Words to filter out from chat messages. Messages containing any of these words will not be forwarded. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub mute_words: Option<Vec<jacquard_common::CowStr<'a>>>, 33 + pub mute_words: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 34 34 /// A user-friendly name for this webhook. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub name: Option<jacquard_common::CowStr<'a>>, 37 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 38 38 /// Text to prepend to webhook messages. 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 40 #[serde(borrow)] 41 - pub prefix: Option<jacquard_common::CowStr<'a>>, 41 + pub prefix: std::option::Option<jacquard_common::CowStr<'a>>, 42 42 /// Text replacement rules for webhook messages. 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub rewrite: Option<Vec<crate::place_stream::server::RewriteRule<'a>>>, 45 + pub rewrite: std::option::Option<Vec<crate::place_stream::server::RewriteRule<'a>>>, 46 46 /// Text to append to webhook messages. 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[serde(borrow)] 49 - pub suffix: Option<jacquard_common::CowStr<'a>>, 49 + pub suffix: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 /// The webhook URL where events will be sent. 51 51 #[serde(borrow)] 52 52 pub url: jacquard_common::types::string::Uri<'a>,
+1 -1
crates/jacquard-api/src/place_stream/server/settings.rs
··· 20 20 pub struct Settings<'a> { 21 21 /// Whether this node may archive your livestream for improving the service 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub debug_recording: Option<bool>, 23 + pub debug_recording: std::option::Option<bool>, 24 24 } 25 25 26 26 pub mod settings_state {
+4 -4
crates/jacquard-api/src/place_wisp/fs.rs
··· 684 684 pub struct File<'a> { 685 685 /// True if blob content is base64-encoded (used to bypass PDS content sniffing) 686 686 #[serde(skip_serializing_if = "std::option::Option::is_none")] 687 - pub base64: Option<bool>, 687 + pub base64: std::option::Option<bool>, 688 688 /// Content blob ref 689 689 #[serde(borrow)] 690 690 pub blob: jacquard_common::types::blob::BlobRef<'a>, 691 691 /// Content encoding (e.g., gzip for compressed files) 692 692 #[serde(skip_serializing_if = "std::option::Option::is_none")] 693 693 #[serde(borrow)] 694 - pub encoding: Option<jacquard_common::CowStr<'a>>, 694 + pub encoding: std::option::Option<jacquard_common::CowStr<'a>>, 695 695 /// Original MIME type before compression 696 696 #[serde(skip_serializing_if = "std::option::Option::is_none")] 697 697 #[serde(borrow)] 698 - pub mime_type: Option<jacquard_common::CowStr<'a>>, 698 + pub mime_type: std::option::Option<jacquard_common::CowStr<'a>>, 699 699 #[serde(borrow)] 700 700 pub r#type: jacquard_common::CowStr<'a>, 701 701 } ··· 929 929 pub struct Fs<'a> { 930 930 pub created_at: jacquard_common::types::string::Datetime, 931 931 #[serde(skip_serializing_if = "std::option::Option::is_none")] 932 - pub file_count: Option<i64>, 932 + pub file_count: std::option::Option<i64>, 933 933 #[serde(borrow)] 934 934 pub root: crate::place_wisp::fs::Directory<'a>, 935 935 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs
··· 18 18 #[serde(rename_all = "camelCase")] 19 19 pub struct Iframe<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 - pub height: Option<i64>, 21 + pub height: std::option::Option<i64>, 22 22 #[serde(borrow)] 23 23 pub url: jacquard_common::types::string::Uri<'a>, 24 24 }
+1 -1
crates/jacquard-api/src/pub_leaflet/blocks/image.rs
··· 299 299 /// Alt text description of the image, for accessibility. 300 300 #[serde(skip_serializing_if = "std::option::Option::is_none")] 301 301 #[serde(borrow)] 302 - pub alt: Option<jacquard_common::CowStr<'a>>, 302 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 303 303 #[serde(borrow)] 304 304 pub aspect_ratio: crate::pub_leaflet::blocks::image::AspectRatio<'a>, 305 305 #[serde(borrow)]
+3 -1
crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs
··· 19 19 pub struct ListItem<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub children: Option<Vec<crate::pub_leaflet::blocks::unordered_list::ListItem<'a>>>, 22 + pub children: std::option::Option< 23 + Vec<crate::pub_leaflet::blocks::unordered_list::ListItem<'a>>, 24 + >, 23 25 #[serde(borrow)] 24 26 pub content: ListItemContent<'a>, 25 27 }
+3 -3
crates/jacquard-api/src/pub_leaflet/blocks/website.rs
··· 19 19 pub struct Website<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub description: Option<jacquard_common::CowStr<'a>>, 22 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub preview_image: Option<jacquard_common::types::blob::BlobRef<'a>>, 25 + pub preview_image: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 26 26 #[serde(borrow)] 27 27 pub src: jacquard_common::types::string::Uri<'a>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub title: Option<jacquard_common::CowStr<'a>>, 30 + pub title: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 } 32 32 33 33 pub mod website_state {
+6 -4
crates/jacquard-api/src/pub_leaflet/comment.rs
··· 414 414 pub struct Comment<'a> { 415 415 #[serde(skip_serializing_if = "std::option::Option::is_none")] 416 416 #[serde(borrow)] 417 - pub attachment: Option<crate::pub_leaflet::comment::LinearDocumentQuote<'a>>, 417 + pub attachment: std::option::Option< 418 + crate::pub_leaflet::comment::LinearDocumentQuote<'a>, 419 + >, 418 420 pub created_at: jacquard_common::types::string::Datetime, 419 421 #[serde(skip_serializing_if = "std::option::Option::is_none")] 420 422 #[serde(borrow)] 421 - pub facets: Option<Vec<crate::pub_leaflet::richtext::facet::Facet<'a>>>, 423 + pub facets: std::option::Option<Vec<crate::pub_leaflet::richtext::facet::Facet<'a>>>, 422 424 #[serde(skip_serializing_if = "std::option::Option::is_none")] 423 425 #[serde(borrow)] 424 - pub on_page: Option<jacquard_common::CowStr<'a>>, 426 + pub on_page: std::option::Option<jacquard_common::CowStr<'a>>, 425 427 #[serde(borrow)] 426 428 pub plaintext: jacquard_common::CowStr<'a>, 427 429 #[serde(skip_serializing_if = "std::option::Option::is_none")] 428 430 #[serde(borrow)] 429 - pub reply: Option<crate::pub_leaflet::comment::ReplyRef<'a>>, 431 + pub reply: std::option::Option<crate::pub_leaflet::comment::ReplyRef<'a>>, 430 432 #[serde(borrow)] 431 433 pub subject: jacquard_common::types::string::AtUri<'a>, 432 434 }
+5 -3
crates/jacquard-api/src/pub_leaflet/document.rs
··· 22 22 pub author: jacquard_common::types::ident::AtIdentifier<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub description: Option<jacquard_common::CowStr<'a>>, 25 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 #[serde(borrow)] 27 27 pub pages: Vec<DocumentPagesItem<'a>>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub post_ref: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 30 + pub post_ref: std::option::Option< 31 + crate::com_atproto::repo::strong_ref::StrongRef<'a>, 32 + >, 31 33 #[serde(borrow)] 32 34 pub publication: jacquard_common::types::string::AtUri<'a>, 33 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 - pub published_at: Option<jacquard_common::types::string::Datetime>, 36 + pub published_at: std::option::Option<jacquard_common::types::string::Datetime>, 35 37 #[serde(borrow)] 36 38 pub title: jacquard_common::CowStr<'a>, 37 39 }
+3 -3
crates/jacquard-api/src/pub_leaflet/pages/canvas.rs
··· 20 20 #[serde(borrow)] 21 21 pub block: BlockBlock<'a>, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub height: Option<i64>, 23 + pub height: std::option::Option<i64>, 24 24 /// The rotation of the block in degrees 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub rotation: Option<i64>, 26 + pub rotation: std::option::Option<i64>, 27 27 pub width: i64, 28 28 pub x: i64, 29 29 pub y: i64, ··· 597 597 pub blocks: Vec<crate::pub_leaflet::pages::canvas::Block<'a>>, 598 598 #[serde(skip_serializing_if = "std::option::Option::is_none")] 599 599 #[serde(borrow)] 600 - pub id: Option<jacquard_common::CowStr<'a>>, 600 + pub id: std::option::Option<jacquard_common::CowStr<'a>>, 601 601 } 602 602 603 603 pub mod canvas_state {
+2 -2
crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs
··· 19 19 pub struct Block<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub alignment: Option<jacquard_common::CowStr<'a>>, 22 + pub alignment: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(borrow)] 24 24 pub block: BlockBlock<'a>, 25 25 } ··· 440 440 pub blocks: Vec<crate::pub_leaflet::pages::linear_document::Block<'a>>, 441 441 #[serde(skip_serializing_if = "std::option::Option::is_none")] 442 442 #[serde(borrow)] 443 - pub id: Option<jacquard_common::CowStr<'a>>, 443 + pub id: std::option::Option<jacquard_common::CowStr<'a>>, 444 444 } 445 445 446 446 pub mod linear_document_state {
+1 -1
crates/jacquard-api/src/pub_leaflet/poll/definition.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Definition<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub end_date: Option<jacquard_common::types::string::Datetime>, 22 + pub end_date: std::option::Option<jacquard_common::types::string::Datetime>, 23 23 #[serde(borrow)] 24 24 pub name: jacquard_common::CowStr<'a>, 25 25 #[serde(borrow)]
+7 -5
crates/jacquard-api/src/pub_leaflet/publication.rs
··· 20 20 pub struct Publication<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub base_path: Option<jacquard_common::CowStr<'a>>, 23 + pub base_path: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub icon: Option<jacquard_common::types::blob::BlobRef<'a>>, 29 + pub icon: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 30 30 #[serde(borrow)] 31 31 pub name: jacquard_common::CowStr<'a>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub preferences: Option<crate::pub_leaflet::publication::Preferences<'a>>, 34 + pub preferences: std::option::Option< 35 + crate::pub_leaflet::publication::Preferences<'a>, 36 + >, 35 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 38 #[serde(borrow)] 37 - pub theme: Option<crate::pub_leaflet::publication::Theme<'a>>, 39 + pub theme: std::option::Option<crate::pub_leaflet::publication::Theme<'a>>, 38 40 } 39 41 40 42 pub mod publication_state {
+2 -2
crates/jacquard-api/src/pub_leaflet/theme/background_image.rs
··· 20 20 #[serde(borrow)] 21 21 pub image: jacquard_common::types::blob::BlobRef<'a>, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub repeat: Option<bool>, 23 + pub repeat: std::option::Option<bool>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 - pub width: Option<i64>, 25 + pub width: std::option::Option<i64>, 26 26 } 27 27 28 28 pub mod background_image_state {
+8 -6
crates/jacquard-api/src/sh_tangled/actor/profile.rs
··· 23 23 /// Free-form profile description text. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub description: Option<jacquard_common::CowStr<'a>>, 26 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub links: Option<Vec<jacquard_common::types::string::Uri<'a>>>, 29 + pub links: std::option::Option<Vec<jacquard_common::types::string::Uri<'a>>>, 30 30 /// Free-form location text. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub location: Option<jacquard_common::CowStr<'a>>, 33 + pub location: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 /// Any ATURI, it is up to appviews to validate these fields. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub pinned_repositories: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 37 + pub pinned_repositories: std::option::Option< 38 + Vec<jacquard_common::types::string::AtUri<'a>>, 39 + >, 38 40 /// Preferred gender pronouns. 39 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 42 #[serde(borrow)] 41 - pub pronouns: Option<jacquard_common::CowStr<'a>>, 43 + pub pronouns: std::option::Option<jacquard_common::CowStr<'a>>, 42 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 45 #[serde(borrow)] 44 - pub stats: Option<Vec<jacquard_common::CowStr<'a>>>, 46 + pub stats: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 45 47 } 46 48 47 49 pub mod profile_state {
+3 -1
crates/jacquard-api/src/sh_tangled/git/ref_update.rs
··· 1366 1366 pub is_default_ref: bool, 1367 1367 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1368 1368 #[serde(borrow)] 1369 - pub lang_breakdown: Option<crate::sh_tangled::git::ref_update::LangBreakdown<'a>>, 1369 + pub lang_breakdown: std::option::Option< 1370 + crate::sh_tangled::git::ref_update::LangBreakdown<'a>, 1371 + >, 1370 1372 } 1371 1373 1372 1374 pub mod meta_state {
+2 -2
crates/jacquard-api/src/sh_tangled/label/definition.rs
··· 20 20 /// The hex value for the background color for the label. Appviews may choose to respect this. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub color: Option<jacquard_common::CowStr<'a>>, 23 + pub color: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 pub created_at: jacquard_common::types::string::Datetime, 25 25 /// Whether this label can be repeated for a given entity, eg.: [reviewer:foo, reviewer:bar] 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 - pub multiple: Option<bool>, 27 + pub multiple: std::option::Option<bool>, 28 28 /// The display name of this label. 29 29 #[serde(borrow)] 30 30 pub name: jacquard_common::CowStr<'a>,
+5 -3
crates/jacquard-api/src/sh_tangled/pipeline.rs
··· 1257 1257 pub kind: jacquard_common::CowStr<'a>, 1258 1258 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1259 1259 #[serde(borrow)] 1260 - pub manual: Option<crate::sh_tangled::pipeline::ManualTriggerData<'a>>, 1260 + pub manual: std::option::Option<crate::sh_tangled::pipeline::ManualTriggerData<'a>>, 1261 1261 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1262 1262 #[serde(borrow)] 1263 - pub pull_request: Option<crate::sh_tangled::pipeline::PullRequestTriggerData<'a>>, 1263 + pub pull_request: std::option::Option< 1264 + crate::sh_tangled::pipeline::PullRequestTriggerData<'a>, 1265 + >, 1264 1266 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1265 1267 #[serde(borrow)] 1266 - pub push: Option<crate::sh_tangled::pipeline::PushTriggerData<'a>>, 1268 + pub push: std::option::Option<crate::sh_tangled::pipeline::PushTriggerData<'a>>, 1267 1269 #[serde(borrow)] 1268 1270 pub repo: crate::sh_tangled::pipeline::TriggerRepo<'a>, 1269 1271 }
+2 -2
crates/jacquard-api/src/sh_tangled/pipeline/status.rs
··· 22 22 /// error message if failed 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub error: Option<jacquard_common::CowStr<'a>>, 25 + pub error: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 /// exit code if failed 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 - pub exit_code: Option<i64>, 28 + pub exit_code: std::option::Option<i64>, 29 29 /// ATURI of the pipeline 30 30 #[serde(borrow)] 31 31 pub pipeline: jacquard_common::types::string::AtUri<'a>,
+6 -6
crates/jacquard-api/src/sh_tangled/repo.rs
··· 48 48 pub created_at: jacquard_common::types::string::Datetime, 49 49 #[serde(skip_serializing_if = "std::option::Option::is_none")] 50 50 #[serde(borrow)] 51 - pub description: Option<jacquard_common::CowStr<'a>>, 51 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 52 52 /// knot where the repo was created 53 53 #[serde(borrow)] 54 54 pub knot: jacquard_common::CowStr<'a>, 55 55 /// List of labels that this repo subscribes to 56 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 57 57 #[serde(borrow)] 58 - pub labels: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 58 + pub labels: std::option::Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 59 59 /// name of the repo 60 60 #[serde(borrow)] 61 61 pub name: jacquard_common::CowStr<'a>, 62 62 /// source of the repo 63 63 #[serde(skip_serializing_if = "std::option::Option::is_none")] 64 64 #[serde(borrow)] 65 - pub source: Option<jacquard_common::types::string::Uri<'a>>, 65 + pub source: std::option::Option<jacquard_common::types::string::Uri<'a>>, 66 66 /// CI runner to send jobs to and receive results from 67 67 #[serde(skip_serializing_if = "std::option::Option::is_none")] 68 68 #[serde(borrow)] 69 - pub spindle: Option<jacquard_common::CowStr<'a>>, 69 + pub spindle: std::option::Option<jacquard_common::CowStr<'a>>, 70 70 /// Topics related to the repo 71 71 #[serde(skip_serializing_if = "std::option::Option::is_none")] 72 72 #[serde(borrow)] 73 - pub topics: Option<Vec<jacquard_common::CowStr<'a>>>, 73 + pub topics: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 74 74 /// Any URI related to the repo 75 75 #[serde(skip_serializing_if = "std::option::Option::is_none")] 76 76 #[serde(borrow)] 77 - pub website: Option<jacquard_common::types::string::Uri<'a>>, 77 + pub website: std::option::Option<jacquard_common::types::string::Uri<'a>>, 78 78 } 79 79 80 80 pub mod repo_state {
+1
crates/jacquard-api/src/sh_tangled/repo/artifact.rs
··· 29 29 #[serde(borrow)] 30 30 pub repo: jacquard_common::types::string::AtUri<'a>, 31 31 /// hash of the tag object that this artifact is attached to (only annotated tags are supported) 32 + #[serde(with = "jacquard_common::serde_bytes_helper")] 32 33 pub tag: bytes::Bytes, 33 34 } 34 35
+2 -2
crates/jacquard-api/src/sh_tangled/repo/blob.rs
··· 19 19 pub struct LastCommit<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub author: Option<crate::sh_tangled::repo::blob::Signature<'a>>, 22 + pub author: std::option::Option<crate::sh_tangled::repo::blob::Signature<'a>>, 23 23 /// Commit hash 24 24 #[serde(borrow)] 25 25 pub hash: jacquard_common::CowStr<'a>, ··· 29 29 /// Short commit hash 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub short_hash: Option<jacquard_common::CowStr<'a>>, 32 + pub short_hash: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// Commit timestamp 34 34 pub when: jacquard_common::types::string::Datetime, 35 35 }
+1 -1
crates/jacquard-api/src/sh_tangled/repo/issue.rs
··· 22 22 pub struct Issue<'a> { 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub body: Option<jacquard_common::CowStr<'a>>, 25 + pub body: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 #[serde(borrow)] 28 28 pub repo: jacquard_common::types::string::AtUri<'a>,
+1 -1
crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs
··· 24 24 pub issue: jacquard_common::types::string::AtUri<'a>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub reply_to: Option<jacquard_common::types::string::AtUri<'a>>, 27 + pub reply_to: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 28 28 } 29 29 30 30 pub mod comment_state {
+3 -3
crates/jacquard-api/src/sh_tangled/repo/languages.rs
··· 20 20 /// Hex color code for this language 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub color: Option<jacquard_common::CowStr<'a>>, 23 + pub color: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// File extensions associated with this language 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub extensions: Option<Vec<jacquard_common::CowStr<'a>>>, 27 + pub extensions: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 28 28 /// Number of files in this language 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub file_count: Option<i64>, 30 + pub file_count: std::option::Option<i64>, 31 31 /// Programming language name 32 32 #[serde(borrow)] 33 33 pub name: jacquard_common::CowStr<'a>,
+4 -4
crates/jacquard-api/src/sh_tangled/repo/merge.rs
··· 20 20 /// Author email for the merge commit 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub author_email: Option<jacquard_common::CowStr<'a>>, 23 + pub author_email: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Author name for the merge commit 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub author_name: Option<jacquard_common::CowStr<'a>>, 27 + pub author_name: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 /// Target branch to merge into 29 29 #[serde(borrow)] 30 30 pub branch: jacquard_common::CowStr<'a>, 31 31 /// Additional commit message body 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub commit_body: Option<jacquard_common::CowStr<'a>>, 34 + pub commit_body: std::option::Option<jacquard_common::CowStr<'a>>, 35 35 /// Merge commit message 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub commit_message: Option<jacquard_common::CowStr<'a>>, 38 + pub commit_message: std::option::Option<jacquard_common::CowStr<'a>>, 39 39 /// DID of the repository owner 40 40 #[serde(borrow)] 41 41 pub did: jacquard_common::types::string::Did<'a>,
+2 -2
crates/jacquard-api/src/sh_tangled/repo/pull.rs
··· 22 22 pub struct Pull<'a> { 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub body: Option<jacquard_common::CowStr<'a>>, 25 + pub body: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 #[serde(borrow)] 28 28 pub patch: jacquard_common::CowStr<'a>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub source: Option<crate::sh_tangled::repo::pull::Source<'a>>, 31 + pub source: std::option::Option<crate::sh_tangled::repo::pull::Source<'a>>, 32 32 #[serde(borrow)] 33 33 pub target: crate::sh_tangled::repo::pull::Target<'a>, 34 34 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/sh_tangled/repo/tree.rs
··· 882 882 pub is_subtree: bool, 883 883 #[serde(skip_serializing_if = "std::option::Option::is_none")] 884 884 #[serde(borrow)] 885 - pub last_commit: Option<crate::sh_tangled::repo::tree::LastCommit<'a>>, 885 + pub last_commit: std::option::Option<crate::sh_tangled::repo::tree::LastCommit<'a>>, 886 886 /// File mode 887 887 #[serde(borrow)] 888 888 pub mode: jacquard_common::CowStr<'a>,
+28 -26
crates/jacquard-api/src/sh_weaver/actor.rs
··· 25 25 pub did: jacquard_common::types::string::Did<'a>, 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub display_name: Option<jacquard_common::CowStr<'a>>, 28 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub handle: Option<jacquard_common::types::string::Handle<'a>>, 31 + pub handle: std::option::Option<jacquard_common::types::string::Handle<'a>>, 32 32 } 33 33 34 34 pub mod author_state { ··· 1315 1315 pub struct ProfileView<'a> { 1316 1316 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1317 1317 #[serde(borrow)] 1318 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 1318 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 1319 1319 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1320 1320 #[serde(borrow)] 1321 - pub banner: Option<jacquard_common::types::string::Uri<'a>>, 1321 + pub banner: std::option::Option<jacquard_common::types::string::Uri<'a>>, 1322 1322 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1323 - pub created_at: Option<jacquard_common::types::string::Datetime>, 1323 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 1324 1324 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1325 1325 #[serde(borrow)] 1326 - pub description: Option<jacquard_common::CowStr<'a>>, 1326 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 1327 1327 #[serde(borrow)] 1328 1328 pub did: jacquard_common::types::string::Did<'a>, 1329 1329 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1330 1330 #[serde(borrow)] 1331 - pub display_name: Option<jacquard_common::CowStr<'a>>, 1331 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 1332 1332 #[serde(borrow)] 1333 1333 pub handle: jacquard_common::types::string::Handle<'a>, 1334 1334 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1335 - pub indexed_at: Option<jacquard_common::types::string::Datetime>, 1335 + pub indexed_at: std::option::Option<jacquard_common::types::string::Datetime>, 1336 1336 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1337 1337 #[serde(borrow)] 1338 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 1338 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 1339 1339 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1340 1340 #[serde(borrow)] 1341 - pub links: Option<Vec<jacquard_common::types::string::Uri<'a>>>, 1341 + pub links: std::option::Option<Vec<jacquard_common::types::string::Uri<'a>>>, 1342 1342 /// Free-form location text. 1343 1343 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1344 1344 #[serde(borrow)] 1345 - pub location: Option<jacquard_common::CowStr<'a>>, 1345 + pub location: std::option::Option<jacquard_common::CowStr<'a>>, 1346 1346 /// Notebooks or other records pinned for display. 1347 1347 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1348 1348 #[serde(borrow)] 1349 - pub pinned: Option<crate::sh_weaver::actor::PinnedList<'a>>, 1349 + pub pinned: std::option::Option<crate::sh_weaver::actor::PinnedList<'a>>, 1350 1350 /// Pronouns to use in user-generated content. 1351 1351 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1352 1352 #[serde(borrow)] 1353 - pub pronouns: Option<crate::sh_weaver::actor::PronounsList<'a>>, 1353 + pub pronouns: std::option::Option<crate::sh_weaver::actor::PronounsList<'a>>, 1354 1354 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1355 - pub subscribed_count: Option<i64>, 1355 + pub subscribed_count: std::option::Option<i64>, 1356 1356 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1357 - pub subscriber_count: Option<i64>, 1357 + pub subscriber_count: std::option::Option<i64>, 1358 1358 } 1359 1359 1360 1360 pub mod profile_view_state { ··· 1929 1929 pub struct ProfileViewBasic<'a> { 1930 1930 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1931 1931 #[serde(borrow)] 1932 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 1932 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 1933 1933 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1934 - pub created_at: Option<jacquard_common::types::string::Datetime>, 1934 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 1935 1935 #[serde(borrow)] 1936 1936 pub did: jacquard_common::types::string::Did<'a>, 1937 1937 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1938 1938 #[serde(borrow)] 1939 - pub display_name: Option<jacquard_common::CowStr<'a>>, 1939 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 1940 1940 #[serde(borrow)] 1941 1941 pub handle: jacquard_common::types::string::Handle<'a>, 1942 1942 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1943 - pub indexed_at: Option<jacquard_common::types::string::Datetime>, 1943 + pub indexed_at: std::option::Option<jacquard_common::types::string::Datetime>, 1944 1944 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1945 1945 #[serde(borrow)] 1946 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 1946 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 1947 1947 /// Pronouns to use in user-generated content. 1948 1948 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1949 1949 #[serde(borrow)] 1950 - pub pronouns: Option<crate::sh_weaver::actor::PronounsList<'a>>, 1950 + pub pronouns: std::option::Option<crate::sh_weaver::actor::PronounsList<'a>>, 1951 1951 } 1952 1952 1953 1953 pub mod profile_view_basic_state { ··· 2287 2287 /// Free-form profile description text. 2288 2288 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2289 2289 #[serde(borrow)] 2290 - pub description: Option<jacquard_common::CowStr<'a>>, 2290 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 2291 2291 #[serde(borrow)] 2292 2292 pub did: jacquard_common::types::string::Did<'a>, 2293 2293 #[serde(borrow)] 2294 2294 pub handle: jacquard_common::types::string::Handle<'a>, 2295 2295 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2296 2296 #[serde(borrow)] 2297 - pub links: Option<Vec<jacquard_common::types::string::Uri<'a>>>, 2297 + pub links: std::option::Option<Vec<jacquard_common::types::string::Uri<'a>>>, 2298 2298 /// Free-form location text. 2299 2299 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2300 2300 #[serde(borrow)] 2301 - pub location: Option<jacquard_common::CowStr<'a>>, 2301 + pub location: std::option::Option<jacquard_common::CowStr<'a>>, 2302 2302 /// Any ATURI, it is up to appviews to validate these fields. 2303 2303 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2304 2304 #[serde(borrow)] 2305 - pub pinned_repositories: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 2305 + pub pinned_repositories: std::option::Option< 2306 + Vec<jacquard_common::types::string::AtUri<'a>>, 2307 + >, 2306 2308 #[serde(skip_serializing_if = "std::option::Option::is_none")] 2307 2309 #[serde(borrow)] 2308 - pub stats: Option<Vec<jacquard_common::CowStr<'a>>>, 2310 + pub stats: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 2309 2311 } 2310 2312 2311 2313 pub mod tangled_profile_view_state {
+13 -13
crates/jacquard-api/src/sh_weaver/actor/profile.rs
··· 21 21 /// Small image to be displayed next to posts from account. AKA, 'profile picture' 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 /// Larger horizontal image to display behind profile view. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 28 + pub banner: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 /// Include link to this account on Bluesky. 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 - pub bluesky: Option<bool>, 31 + pub bluesky: std::option::Option<bool>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 - pub created_at: Option<jacquard_common::types::string::Datetime>, 33 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 34 34 /// Free-form profile description text. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub description: Option<jacquard_common::CowStr<'a>>, 37 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 38 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 39 #[serde(borrow)] 40 - pub display_name: Option<jacquard_common::CowStr<'a>>, 40 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 41 41 /// Self-label values, specific to the application, on the overall account. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 44 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 45 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 46 46 #[serde(borrow)] 47 - pub links: Option<Vec<jacquard_common::types::string::Uri<'a>>>, 47 + pub links: std::option::Option<Vec<jacquard_common::types::string::Uri<'a>>>, 48 48 /// Free-form location text. 49 49 #[serde(skip_serializing_if = "std::option::Option::is_none")] 50 50 #[serde(borrow)] 51 - pub location: Option<jacquard_common::CowStr<'a>>, 51 + pub location: std::option::Option<jacquard_common::CowStr<'a>>, 52 52 /// Notebooks or other records pinned for display. 53 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 54 54 #[serde(borrow)] 55 - pub pinned: Option<crate::sh_weaver::actor::PinnedList<'a>>, 55 + pub pinned: std::option::Option<crate::sh_weaver::actor::PinnedList<'a>>, 56 56 /// Pronouns to use in user-generated content. 57 57 #[serde(skip_serializing_if = "std::option::Option::is_none")] 58 58 #[serde(borrow)] 59 - pub pronouns: Option<crate::sh_weaver::actor::PronounsList<'a>>, 59 + pub pronouns: std::option::Option<crate::sh_weaver::actor::PronounsList<'a>>, 60 60 /// Include link to this account on stream.place. 61 61 #[serde(skip_serializing_if = "std::option::Option::is_none")] 62 - pub streamplace: Option<bool>, 62 + pub streamplace: std::option::Option<bool>, 63 63 /// Include link to this account on Tangled. 64 64 #[serde(skip_serializing_if = "std::option::Option::is_none")] 65 - pub tangled: Option<bool>, 65 + pub tangled: std::option::Option<bool>, 66 66 } 67 67 68 68 pub mod profile_state {
+1 -1
crates/jacquard-api/src/sh_weaver/edit/cursor.rs
··· 746 746 pub id: crate::sh_weaver::edit::cursor::Id<'a>, 747 747 #[serde(skip_serializing_if = "std::option::Option::is_none")] 748 748 #[serde(borrow)] 749 - pub side: Option<crate::sh_weaver::edit::cursor::CursorSide<'a>>, 749 + pub side: std::option::Option<crate::sh_weaver::edit::cursor::CursorSide<'a>>, 750 750 } 751 751 752 752 pub mod cursor_state {
+2 -2
crates/jacquard-api/src/sh_weaver/embed/external.rs
··· 21 21 pub description: jacquard_common::CowStr<'a>, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub thumb: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub thumb: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 #[serde(borrow)] 26 26 pub title: jacquard_common::CowStr<'a>, 27 27 #[serde(borrow)] ··· 800 800 pub description: jacquard_common::CowStr<'a>, 801 801 #[serde(skip_serializing_if = "std::option::Option::is_none")] 802 802 #[serde(borrow)] 803 - pub thumb: Option<jacquard_common::types::string::Uri<'a>>, 803 + pub thumb: std::option::Option<jacquard_common::types::string::Uri<'a>>, 804 804 #[serde(borrow)] 805 805 pub title: jacquard_common::CowStr<'a>, 806 806 #[serde(borrow)]
+5 -5
crates/jacquard-api/src/sh_weaver/embed/images.rs
··· 23 23 /// Blurhash string for the image, used for low-resolution placeholders. This must be a valid Blurhash string. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub blurhash: Option<jacquard_common::CowStr<'a>>, 26 + pub blurhash: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub dimensions: Option<ImageDimensions<'a>>, 29 + pub dimensions: std::option::Option<ImageDimensions<'a>>, 30 30 #[serde(borrow)] 31 31 pub image: jacquard_common::types::blob::BlobRef<'a>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub name: Option<jacquard_common::CowStr<'a>>, 34 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 35 35 } 36 36 37 37 pub mod image_state { ··· 880 880 pub alt: jacquard_common::CowStr<'a>, 881 881 #[serde(skip_serializing_if = "std::option::Option::is_none")] 882 882 #[serde(borrow)] 883 - pub dimensions: Option<ViewImageDimensions<'a>>, 883 + pub dimensions: std::option::Option<ViewImageDimensions<'a>>, 884 884 /// Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. 885 885 #[serde(borrow)] 886 886 pub fullsize: jacquard_common::types::string::Uri<'a>, 887 887 #[serde(skip_serializing_if = "std::option::Option::is_none")] 888 888 #[serde(borrow)] 889 - pub name: Option<jacquard_common::CowStr<'a>>, 889 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 890 890 /// Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. 891 891 #[serde(borrow)] 892 892 pub thumb: jacquard_common::types::string::Uri<'a>,
+1 -1
crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs
··· 310 310 pub media: ViewMedia<'a>, 311 311 #[serde(skip_serializing_if = "std::option::Option::is_none")] 312 312 #[serde(borrow)] 313 - pub records: Option<crate::sh_weaver::embed::records::View<'a>>, 313 + pub records: std::option::Option<crate::sh_weaver::embed::records::View<'a>>, 314 314 } 315 315 316 316 pub mod view_state {
+10 -8
crates/jacquard-api/src/sh_weaver/embed/records.rs
··· 638 638 pub struct RecordEmbed<'a> { 639 639 #[serde(skip_serializing_if = "std::option::Option::is_none")] 640 640 #[serde(borrow)] 641 - pub name: Option<jacquard_common::CowStr<'a>>, 641 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 642 642 #[serde(borrow)] 643 643 pub record: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 644 644 } ··· 810 810 pub struct RecordEmbedView<'a> { 811 811 #[serde(skip_serializing_if = "std::option::Option::is_none")] 812 812 #[serde(borrow)] 813 - pub name: Option<jacquard_common::CowStr<'a>>, 813 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 814 814 #[serde(borrow)] 815 815 pub record_view: RecordEmbedViewRecordView<'a>, 816 816 } ··· 1737 1737 pub cid: jacquard_common::types::string::Cid<'a>, 1738 1738 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1739 1739 #[serde(borrow)] 1740 - pub embeds: Option<Vec<crate::sh_weaver::embed::records::RecordEmbedView<'a>>>, 1740 + pub embeds: std::option::Option< 1741 + Vec<crate::sh_weaver::embed::records::RecordEmbedView<'a>>, 1742 + >, 1741 1743 pub indexed_at: jacquard_common::types::string::Datetime, 1742 1744 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1743 1745 #[serde(borrow)] 1744 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 1746 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 1745 1747 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1746 - pub like_count: Option<i64>, 1748 + pub like_count: std::option::Option<i64>, 1747 1749 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1748 - pub quote_count: Option<i64>, 1750 + pub quote_count: std::option::Option<i64>, 1749 1751 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1750 - pub reply_count: Option<i64>, 1752 + pub reply_count: std::option::Option<i64>, 1751 1753 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1752 - pub repost_count: Option<i64>, 1754 + pub repost_count: std::option::Option<i64>, 1753 1755 #[serde(borrow)] 1754 1756 pub uri: jacquard_common::types::string::AtUri<'a>, 1755 1757 /// The record data itself.
+8 -8
crates/jacquard-api/src/sh_weaver/embed/video.rs
··· 615 615 /// Alt text description of the video, for accessibility. 616 616 #[serde(skip_serializing_if = "std::option::Option::is_none")] 617 617 #[serde(borrow)] 618 - pub alt: Option<jacquard_common::CowStr<'a>>, 618 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 619 619 #[serde(skip_serializing_if = "std::option::Option::is_none")] 620 620 #[serde(borrow)] 621 - pub captions: Option<Vec<crate::sh_weaver::embed::video::Caption<'a>>>, 621 + pub captions: std::option::Option<Vec<crate::sh_weaver::embed::video::Caption<'a>>>, 622 622 #[serde(skip_serializing_if = "std::option::Option::is_none")] 623 623 #[serde(borrow)] 624 - pub dimensions: Option<VideoDimensions<'a>>, 624 + pub dimensions: std::option::Option<VideoDimensions<'a>>, 625 625 #[serde(skip_serializing_if = "std::option::Option::is_none")] 626 626 #[serde(borrow)] 627 - pub name: Option<jacquard_common::CowStr<'a>>, 627 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 628 628 /// The mp4 video file. May be up to 100mb, formerly limited to 50mb. 629 629 #[serde(borrow)] 630 630 pub video: jacquard_common::types::blob::BlobRef<'a>, ··· 914 914 pub struct View<'a> { 915 915 #[serde(skip_serializing_if = "std::option::Option::is_none")] 916 916 #[serde(borrow)] 917 - pub alt: Option<jacquard_common::CowStr<'a>>, 917 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 918 918 #[serde(borrow)] 919 919 pub cid: jacquard_common::types::string::Cid<'a>, 920 920 #[serde(skip_serializing_if = "std::option::Option::is_none")] 921 921 #[serde(borrow)] 922 - pub dimensions: Option<ViewDimensions<'a>>, 922 + pub dimensions: std::option::Option<ViewDimensions<'a>>, 923 923 #[serde(skip_serializing_if = "std::option::Option::is_none")] 924 924 #[serde(borrow)] 925 - pub name: Option<jacquard_common::CowStr<'a>>, 925 + pub name: std::option::Option<jacquard_common::CowStr<'a>>, 926 926 #[serde(borrow)] 927 927 pub playlist: jacquard_common::types::string::Uri<'a>, 928 928 #[serde(skip_serializing_if = "std::option::Option::is_none")] 929 929 #[serde(borrow)] 930 - pub thumbnail: Option<jacquard_common::types::string::Uri<'a>>, 930 + pub thumbnail: std::option::Option<jacquard_common::types::string::Uri<'a>>, 931 931 } 932 932 933 933 pub mod view_state {
+9 -9
crates/jacquard-api/src/sh_weaver/notebook.rs
··· 30 30 pub record: jacquard_common::types::value::Data<'a>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub uri: Option<jacquard_common::types::string::AtUri<'a>>, 33 + pub uri: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 34 34 } 35 35 36 36 pub mod author_list_view_state { ··· 852 852 pub index: i64, 853 853 #[serde(skip_serializing_if = "std::option::Option::is_none")] 854 854 #[serde(borrow)] 855 - pub next: Option<crate::sh_weaver::notebook::BookEntryRef<'a>>, 855 + pub next: std::option::Option<crate::sh_weaver::notebook::BookEntryRef<'a>>, 856 856 #[serde(skip_serializing_if = "std::option::Option::is_none")] 857 857 #[serde(borrow)] 858 - pub prev: Option<crate::sh_weaver::notebook::BookEntryRef<'a>>, 858 + pub prev: std::option::Option<crate::sh_weaver::notebook::BookEntryRef<'a>>, 859 859 } 860 860 861 861 pub mod book_entry_view_state { ··· 1117 1117 pub record: jacquard_common::types::value::Data<'a>, 1118 1118 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1119 1119 #[serde(borrow)] 1120 - pub rendered_view: Option<crate::sh_weaver::notebook::RenderedView<'a>>, 1120 + pub rendered_view: std::option::Option<crate::sh_weaver::notebook::RenderedView<'a>>, 1121 1121 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1122 1122 #[serde(borrow)] 1123 - pub tags: Option<crate::sh_weaver::notebook::Tags<'a>>, 1123 + pub tags: std::option::Option<crate::sh_weaver::notebook::Tags<'a>>, 1124 1124 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1125 1125 #[serde(borrow)] 1126 - pub title: Option<crate::sh_weaver::notebook::Title<'a>>, 1126 + pub title: std::option::Option<crate::sh_weaver::notebook::Title<'a>>, 1127 1127 #[serde(borrow)] 1128 1128 pub uri: jacquard_common::types::string::AtUri<'a>, 1129 1129 } ··· 1489 1489 pub record: jacquard_common::types::value::Data<'a>, 1490 1490 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1491 1491 #[serde(borrow)] 1492 - pub tags: Option<crate::sh_weaver::notebook::Tags<'a>>, 1492 + pub tags: std::option::Option<crate::sh_weaver::notebook::Tags<'a>>, 1493 1493 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1494 1494 #[serde(borrow)] 1495 - pub title: Option<crate::sh_weaver::notebook::Title<'a>>, 1495 + pub title: std::option::Option<crate::sh_weaver::notebook::Title<'a>>, 1496 1496 #[serde(borrow)] 1497 1497 pub uri: jacquard_common::types::string::AtUri<'a>, 1498 1498 } ··· 1830 1830 pub struct RenderedView<'a> { 1831 1831 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1832 1832 #[serde(borrow)] 1833 - pub css: Option<jacquard_common::types::blob::BlobRef<'a>>, 1833 + pub css: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 1834 1834 #[serde(borrow)] 1835 1835 pub html: jacquard_common::types::blob::BlobRef<'a>, 1836 1836 }
+3 -3
crates/jacquard-api/src/sh_weaver/notebook/authors.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct AuthorListItem<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 - pub index: Option<i64>, 22 + pub index: std::option::Option<i64>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub profile: Option<AuthorListItemProfile<'a>>, 25 + pub profile: std::option::Option<AuthorListItemProfile<'a>>, 26 26 } 27 27 28 28 pub mod author_list_item_state { ··· 313 313 #[serde(borrow)] 314 314 pub author_list: Vec<crate::sh_weaver::notebook::authors::AuthorListItem<'a>>, 315 315 #[serde(skip_serializing_if = "std::option::Option::is_none")] 316 - pub created_at: Option<jacquard_common::types::string::Datetime>, 316 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 317 317 } 318 318 319 319 pub mod authors_state {
+4 -4
crates/jacquard-api/src/sh_weaver/notebook/book.rs
··· 22 22 pub authors: Vec<crate::sh_weaver::actor::Author<'a>>, 23 23 /// Client-declared timestamp when this was originally created. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 - pub created_at: Option<jacquard_common::types::string::Datetime>, 25 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 26 26 #[serde(borrow)] 27 27 pub entry_list: Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub tags: Option<crate::sh_weaver::notebook::Tags<'a>>, 30 + pub tags: std::option::Option<crate::sh_weaver::notebook::Tags<'a>>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub theme: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 33 + pub theme: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub title: Option<crate::sh_weaver::notebook::Title<'a>>, 36 + pub title: std::option::Option<crate::sh_weaver::notebook::Title<'a>>, 37 37 } 38 38 39 39 pub mod book_state {
+3 -3
crates/jacquard-api/src/sh_weaver/notebook/chapter.rs
··· 22 22 pub authors: Vec<crate::sh_weaver::actor::Author<'a>>, 23 23 /// Client-declared timestamp when this was originally created. 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 - pub created_at: Option<jacquard_common::types::string::Datetime>, 25 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 26 26 #[serde(borrow)] 27 27 pub entry_list: Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 28 28 /// The notebook this chapter belongs to. ··· 30 30 pub notebook: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub tags: Option<crate::sh_weaver::notebook::Tags<'a>>, 33 + pub tags: std::option::Option<crate::sh_weaver::notebook::Tags<'a>>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub title: Option<crate::sh_weaver::notebook::Title<'a>>, 36 + pub title: std::option::Option<crate::sh_weaver::notebook::Title<'a>>, 37 37 } 38 38 39 39 pub mod chapter_state {
+2 -2
crates/jacquard-api/src/sh_weaver/notebook/entry.rs
··· 26 26 /// The set of images and records, if any, embedded in the notebook entry. 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub embeds: Option<EntryEmbeds<'a>>, 29 + pub embeds: std::option::Option<EntryEmbeds<'a>>, 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub tags: Option<crate::sh_weaver::notebook::Tags<'a>>, 32 + pub tags: std::option::Option<crate::sh_weaver::notebook::Tags<'a>>, 33 33 #[serde(borrow)] 34 34 pub title: crate::sh_weaver::notebook::Title<'a>, 35 35 }
+3 -3
crates/jacquard-api/src/sh_weaver/notebook/page.rs
··· 20 20 pub struct Page<'a> { 21 21 /// Client-declared timestamp when this was originally created. 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub created_at: Option<jacquard_common::types::string::Datetime>, 23 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 24 24 #[serde(borrow)] 25 25 pub entry_list: Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 26 26 /// The notebook this page belongs to. ··· 28 28 pub notebook: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[serde(borrow)] 31 - pub tags: Option<crate::sh_weaver::notebook::Tags<'a>>, 31 + pub tags: std::option::Option<crate::sh_weaver::notebook::Tags<'a>>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub title: Option<crate::sh_weaver::notebook::Title<'a>>, 34 + pub title: std::option::Option<crate::sh_weaver::notebook::Title<'a>>, 35 35 } 36 36 37 37 pub mod page_state {
+3 -3
crates/jacquard-api/src/social_clippr/actor.rs
··· 48 48 /// A link to the profile's avatar 49 49 #[serde(skip_serializing_if = "std::option::Option::is_none")] 50 50 #[serde(borrow)] 51 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 51 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 52 52 /// When the profile record was first created 53 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 54 - pub created_at: Option<jacquard_common::types::string::Datetime>, 54 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 55 55 /// The biography associated to the profile 56 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 57 57 #[serde(borrow)] 58 - pub description: Option<jacquard_common::CowStr<'a>>, 58 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 59 59 /// The DID of the profile 60 60 #[serde(borrow)] 61 61 pub did: jacquard_common::types::string::Did<'a>,
+2 -2
crates/jacquard-api/src/social_clippr/actor/profile.rs
··· 21 21 /// Image to show on user's profiles 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 /// The creation date of the profile 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 /// Text for user to describe themselves 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// A display name to be shown on a profile 32 32 #[serde(borrow)] 33 33 pub display_name: jacquard_common::CowStr<'a>,
+6 -4
crates/jacquard-api/src/social_clippr/feed/clip.rs
··· 25 25 pub description: jacquard_common::CowStr<'a>, 26 26 /// Indicates human language of the given URL 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 - pub languages: Option<Vec<jacquard_common::types::string::Language>>, 28 + pub languages: std::option::Option<Vec<jacquard_common::types::string::Language>>, 29 29 /// User-written notes for the bookmark. Public and personal. 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub notes: Option<jacquard_common::CowStr<'a>>, 32 + pub notes: std::option::Option<jacquard_common::CowStr<'a>>, 33 33 /// An array of tags. A format of solely alphanumeric characters and dashes should be used. 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub tags: Option<Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>>, 36 + pub tags: std::option::Option< 37 + Vec<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 38 + >, 37 39 /// The title of the bookmark. If left empty, reuse the URL. 38 40 #[serde(borrow)] 39 41 pub title: jacquard_common::CowStr<'a>, ··· 41 43 pub unlisted: bool, 42 44 /// Whether the bookmark has been read by the user 43 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 - pub unread: Option<bool>, 46 + pub unread: std::option::Option<bool>, 45 47 /// The URL of the bookmark. Cannot be left empty or be modified after creation. 46 48 #[serde(borrow)] 47 49 pub url: jacquard_common::types::string::Uri<'a>,
+2 -2
crates/jacquard-api/src/social_clippr/feed/tag.rs
··· 21 21 /// A hexadecimal color code 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub color: Option<jacquard_common::CowStr<'a>>, 24 + pub color: std::option::Option<jacquard_common::CowStr<'a>>, 25 25 /// A client-defined timestamp for the creation of the tag 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 /// A description of the tag for additional context 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 /// A de-duplicated string containing the name of the tag 32 32 #[serde(borrow)] 33 33 pub name: jacquard_common::CowStr<'a>,
+5 -5
crates/jacquard-api/src/social_grain/actor.rs
··· 21 21 pub struct ProfileView<'a> { 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::string::Uri<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::string::Uri<'a>>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub created_at: Option<jacquard_common::types::string::Datetime>, 26 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub description: Option<jacquard_common::CowStr<'a>>, 29 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 30 30 #[serde(borrow)] 31 31 pub did: jacquard_common::types::string::Did<'a>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub display_name: Option<jacquard_common::CowStr<'a>>, 34 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 35 35 #[serde(borrow)] 36 36 pub handle: jacquard_common::types::string::Handle<'a>, 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 39 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 40 40 } 41 41 42 42 pub mod profile_view_state {
+4 -4
crates/jacquard-api/src/social_grain/actor/profile.rs
··· 21 21 /// Small image to be displayed next to posts from account. AKA, 'profile picture' 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 24 + pub avatar: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub created_at: Option<jacquard_common::types::string::Datetime>, 26 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 27 27 /// Free-form profile description text. 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub display_name: Option<jacquard_common::CowStr<'a>>, 33 + pub display_name: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 } 35 35 36 36 pub mod profile_state {
+4 -4
crates/jacquard-api/src/social_grain/gallery.rs
··· 22 22 pub created_at: jacquard_common::types::string::Datetime, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub description: Option<jacquard_common::CowStr<'a>>, 25 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 /// Self-label values for this post. Effectively content warnings. 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub labels: Option<crate::com_atproto::label::SelfLabels<'a>>, 29 + pub labels: std::option::Option<crate::com_atproto::label::SelfLabels<'a>>, 30 30 #[serde(borrow)] 31 31 pub title: jacquard_common::CowStr<'a>, 32 32 } ··· 439 439 pub indexed_at: jacquard_common::types::string::Datetime, 440 440 #[serde(skip_serializing_if = "std::option::Option::is_none")] 441 441 #[serde(borrow)] 442 - pub items: Option<Vec<crate::social_grain::photo::PhotoView<'a>>>, 442 + pub items: std::option::Option<Vec<crate::social_grain::photo::PhotoView<'a>>>, 443 443 #[serde(skip_serializing_if = "std::option::Option::is_none")] 444 444 #[serde(borrow)] 445 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 445 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 446 446 #[serde(borrow)] 447 447 pub record: jacquard_common::types::value::Data<'a>, 448 448 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/social_grain/gallery/item.rs
··· 23 23 #[serde(borrow)] 24 24 pub item: jacquard_common::types::string::AtUri<'a>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub position: Option<i64>, 26 + pub position: std::option::Option<i64>, 27 27 } 28 28 29 29 pub mod item_state {
+16 -16
crates/jacquard-api/src/social_grain/photo.rs
··· 24 24 pub alt: jacquard_common::CowStr<'a>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub aspect_ratio: Option<crate::social_grain::AspectRatio<'a>>, 27 + pub aspect_ratio: std::option::Option<crate::social_grain::AspectRatio<'a>>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 - pub created_at: Option<jacquard_common::types::string::Datetime>, 29 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 30 30 #[serde(borrow)] 31 31 pub photo: jacquard_common::types::blob::BlobRef<'a>, 32 32 } ··· 399 399 pub struct ExifView<'a> { 400 400 #[serde(skip_serializing_if = "std::option::Option::is_none")] 401 401 #[serde(borrow)] 402 - pub cid: Option<jacquard_common::types::string::Cid<'a>>, 402 + pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 403 403 pub created_at: jacquard_common::types::string::Datetime, 404 404 #[serde(skip_serializing_if = "std::option::Option::is_none")] 405 405 #[serde(borrow)] 406 - pub date_time_original: Option<jacquard_common::CowStr<'a>>, 406 + pub date_time_original: std::option::Option<jacquard_common::CowStr<'a>>, 407 407 #[serde(skip_serializing_if = "std::option::Option::is_none")] 408 408 #[serde(borrow)] 409 - pub exposure_time: Option<jacquard_common::CowStr<'a>>, 409 + pub exposure_time: std::option::Option<jacquard_common::CowStr<'a>>, 410 410 #[serde(skip_serializing_if = "std::option::Option::is_none")] 411 411 #[serde(borrow)] 412 - pub f_number: Option<jacquard_common::CowStr<'a>>, 412 + pub f_number: std::option::Option<jacquard_common::CowStr<'a>>, 413 413 #[serde(skip_serializing_if = "std::option::Option::is_none")] 414 414 #[serde(borrow)] 415 - pub flash: Option<jacquard_common::CowStr<'a>>, 415 + pub flash: std::option::Option<jacquard_common::CowStr<'a>>, 416 416 #[serde(skip_serializing_if = "std::option::Option::is_none")] 417 417 #[serde(borrow)] 418 - pub focal_length_in35mm_format: Option<jacquard_common::CowStr<'a>>, 418 + pub focal_length_in35mm_format: std::option::Option<jacquard_common::CowStr<'a>>, 419 419 #[serde(skip_serializing_if = "std::option::Option::is_none")] 420 - pub i_so: Option<i64>, 420 + pub i_so: std::option::Option<i64>, 421 421 #[serde(skip_serializing_if = "std::option::Option::is_none")] 422 422 #[serde(borrow)] 423 - pub lens_make: Option<jacquard_common::CowStr<'a>>, 423 + pub lens_make: std::option::Option<jacquard_common::CowStr<'a>>, 424 424 #[serde(skip_serializing_if = "std::option::Option::is_none")] 425 425 #[serde(borrow)] 426 - pub lens_model: Option<jacquard_common::CowStr<'a>>, 426 + pub lens_model: std::option::Option<jacquard_common::CowStr<'a>>, 427 427 #[serde(skip_serializing_if = "std::option::Option::is_none")] 428 428 #[serde(borrow)] 429 - pub make: Option<jacquard_common::CowStr<'a>>, 429 + pub make: std::option::Option<jacquard_common::CowStr<'a>>, 430 430 #[serde(skip_serializing_if = "std::option::Option::is_none")] 431 431 #[serde(borrow)] 432 - pub model: Option<jacquard_common::CowStr<'a>>, 432 + pub model: std::option::Option<jacquard_common::CowStr<'a>>, 433 433 #[serde(borrow)] 434 434 pub photo: jacquard_common::types::string::AtUri<'a>, 435 435 #[serde(skip_serializing_if = "std::option::Option::is_none")] 436 436 #[serde(borrow)] 437 - pub uri: Option<jacquard_common::types::string::AtUri<'a>>, 437 + pub uri: std::option::Option<jacquard_common::types::string::AtUri<'a>>, 438 438 } 439 439 440 440 pub mod exif_view_state { ··· 1265 1265 pub alt: jacquard_common::CowStr<'a>, 1266 1266 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1267 1267 #[serde(borrow)] 1268 - pub aspect_ratio: Option<crate::social_grain::AspectRatio<'a>>, 1268 + pub aspect_ratio: std::option::Option<crate::social_grain::AspectRatio<'a>>, 1269 1269 #[serde(borrow)] 1270 1270 pub cid: jacquard_common::types::string::Cid<'a>, 1271 1271 /// EXIF metadata for the photo, if available. 1272 1272 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1273 1273 #[serde(borrow)] 1274 - pub exif: Option<crate::social_grain::photo::ExifView<'a>>, 1274 + pub exif: std::option::Option<crate::social_grain::photo::ExifView<'a>>, 1275 1275 /// Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. 1276 1276 #[serde(borrow)] 1277 1277 pub fullsize: jacquard_common::types::string::Uri<'a>,
+12 -10
crates/jacquard-api/src/social_grain/photo/exif.rs
··· 20 20 pub struct Exif<'a> { 21 21 pub created_at: jacquard_common::types::string::Datetime, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub date_time_original: Option<jacquard_common::types::string::Datetime>, 23 + pub date_time_original: std::option::Option< 24 + jacquard_common::types::string::Datetime, 25 + >, 24 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 - pub exposure_time: Option<i64>, 27 + pub exposure_time: std::option::Option<i64>, 26 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 - pub f_number: Option<i64>, 29 + pub f_number: std::option::Option<i64>, 28 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 31 #[serde(borrow)] 30 - pub flash: Option<jacquard_common::CowStr<'a>>, 32 + pub flash: std::option::Option<jacquard_common::CowStr<'a>>, 31 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 - pub focal_length_in35mm_format: Option<i64>, 34 + pub focal_length_in35mm_format: std::option::Option<i64>, 33 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 - pub i_so: Option<i64>, 36 + pub i_so: std::option::Option<i64>, 35 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 38 #[serde(borrow)] 37 - pub lens_make: Option<jacquard_common::CowStr<'a>>, 39 + pub lens_make: std::option::Option<jacquard_common::CowStr<'a>>, 38 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 39 41 #[serde(borrow)] 40 - pub lens_model: Option<jacquard_common::CowStr<'a>>, 42 + pub lens_model: std::option::Option<jacquard_common::CowStr<'a>>, 41 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 44 #[serde(borrow)] 43 - pub make: Option<jacquard_common::CowStr<'a>>, 45 + pub make: std::option::Option<jacquard_common::CowStr<'a>>, 44 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 47 #[serde(borrow)] 46 - pub model: Option<jacquard_common::CowStr<'a>>, 48 + pub model: std::option::Option<jacquard_common::CowStr<'a>>, 47 49 #[serde(borrow)] 48 50 pub photo: jacquard_common::types::string::AtUri<'a>, 49 51 }
+7 -6
crates/jacquard-api/src/social_pmsky/proposal.rs
··· 20 20 /// The persistent, anonymous identifier for the user creating the proposal. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub aid: Option<jacquard_common::CowStr<'a>>, 23 + pub aid: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Optionally, CID specifying the specific version of 'uri' resource this proposal applies to. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub cid: Option<jacquard_common::types::string::Cid<'a>>, 27 + pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 28 28 /// Timestamp when this proposal was created. 29 29 pub cts: jacquard_common::types::string::Datetime, 30 30 /// For 'label' proposals where 'val' is 'needs-context', the full text of any proposed annotation (e.g. community note) to be shown below the post. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub note: Option<jacquard_common::CowStr<'a>>, 33 + pub note: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 /// An optional array of predefined reasons justifying the moderation action. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub reasons: Option<Vec<jacquard_common::CowStr<'a>>>, 37 + pub reasons: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 38 38 /// Signature of dag-cbor encoded proposal. 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub sig: Option<bytes::Bytes>, 40 + #[serde(with = "jacquard_common::opt_serde_bytes_helper")] 41 + pub sig: std::option::Option<bytes::Bytes>, 41 42 /// DID of the actor who created this proposal. 42 43 #[serde(borrow)] 43 44 pub src: jacquard_common::types::string::Did<'a>, ··· 52 53 pub val: jacquard_common::CowStr<'a>, 53 54 /// The AT Protocol version of the proposal object. 54 55 #[serde(skip_serializing_if = "std::option::Option::is_none")] 55 - pub ver: Option<i64>, 56 + pub ver: std::option::Option<i64>, 56 57 } 57 58 58 59 pub mod proposal_state {
+5 -4
crates/jacquard-api/src/social_pmsky/vote.rs
··· 20 20 /// The persistent, anonymous identifier for the user casting the vote. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub aid: Option<jacquard_common::CowStr<'a>>, 23 + pub aid: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Optionally, CID specifying the specific version of 'uri' resource this vote applies to. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub cid: Option<jacquard_common::types::string::Cid<'a>>, 27 + pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 28 28 /// Timestamp when this vote was created. 29 29 pub cts: jacquard_common::types::string::Datetime, 30 30 /// An optional array of predefined reasons justifying the vote. 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub reasons: Option<Vec<jacquard_common::CowStr<'a>>>, 33 + pub reasons: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 34 34 /// Signature of dag-cbor encoded vote. 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 - pub sig: Option<bytes::Bytes>, 36 + #[serde(with = "jacquard_common::opt_serde_bytes_helper")] 37 + pub sig: std::option::Option<bytes::Bytes>, 37 38 /// the account creating the vote, not necessarily the same as the user who voted 38 39 #[serde(borrow)] 39 40 pub src: jacquard_common::types::string::Did<'a>,
+1 -1
crates/jacquard-api/src/social_psky/actor/profile.rs
··· 20 20 pub struct Profile<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub nickname: Option<jacquard_common::CowStr<'a>>, 23 + pub nickname: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 } 25 25 26 26 pub mod profile_state {
+2 -2
crates/jacquard-api/src/social_psky/chat/message.rs
··· 24 24 /// Annotations of text (mentions, URLs, hashtags, etc) 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub facets: Option<Vec<crate::social_psky::richtext::facet::Facet<'a>>>, 27 + pub facets: std::option::Option<Vec<crate::social_psky::richtext::facet::Facet<'a>>>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub reply: Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 30 + pub reply: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 31 31 #[serde(borrow)] 32 32 pub room: jacquard_common::types::string::AtUri<'a>, 33 33 }
+5 -5
crates/jacquard-api/src/social_psky/chat/room.rs
··· 21 21 /// List of users allowed to send messages in the room. 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub allowlist: Option<crate::social_psky::chat::room::ModlistRef<'a>>, 24 + pub allowlist: std::option::Option<crate::social_psky::chat::room::ModlistRef<'a>>, 25 25 /// List of users disallowed to send messages in the room. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub denylist: Option<crate::social_psky::chat::room::ModlistRef<'a>>, 28 + pub denylist: std::option::Option<crate::social_psky::chat::room::ModlistRef<'a>>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub languages: Option<Vec<jacquard_common::types::string::Language>>, 30 + pub languages: std::option::Option<Vec<jacquard_common::types::string::Language>>, 31 31 #[serde(borrow)] 32 32 pub name: jacquard_common::CowStr<'a>, 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 35 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 36 36 /// Topic title of the room. 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub topic: Option<jacquard_common::CowStr<'a>>, 39 + pub topic: std::option::Option<jacquard_common::CowStr<'a>>, 40 40 } 41 41 42 42 pub mod room_state {
+2 -2
crates/jacquard-api/src/tools_ozone/communication.rs
··· 31 31 pub id: jacquard_common::CowStr<'a>, 32 32 /// Message language. 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 - pub lang: Option<jacquard_common::types::string::Language>, 34 + pub lang: std::option::Option<jacquard_common::types::string::Language>, 35 35 /// DID of the user who last updated the template. 36 36 #[serde(borrow)] 37 37 pub last_updated_by: jacquard_common::types::string::Did<'a>, ··· 41 41 /// Content of the template, can contain markdown and variable placeholders. 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub subject: Option<jacquard_common::CowStr<'a>>, 44 + pub subject: std::option::Option<jacquard_common::CowStr<'a>>, 45 45 pub updated_at: jacquard_common::types::string::Datetime, 46 46 } 47 47
+94 -74
crates/jacquard-api/src/tools_ozone/moderation.rs
··· 38 38 pub active: bool, 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 40 #[serde(borrow)] 41 - pub comment: Option<jacquard_common::CowStr<'a>>, 41 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[serde(borrow)] 44 - pub status: Option<jacquard_common::CowStr<'a>>, 44 + pub status: std::option::Option<jacquard_common::CowStr<'a>>, 45 45 pub timestamp: jacquard_common::types::string::Datetime, 46 46 } 47 47 ··· 4960 4960 /// The IP address used when completing the AA flow. 4961 4961 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4962 4962 #[serde(borrow)] 4963 - pub complete_ip: Option<jacquard_common::CowStr<'a>>, 4963 + pub complete_ip: std::option::Option<jacquard_common::CowStr<'a>>, 4964 4964 /// The user agent used when completing the AA flow. 4965 4965 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4966 4966 #[serde(borrow)] 4967 - pub complete_ua: Option<jacquard_common::CowStr<'a>>, 4967 + pub complete_ua: std::option::Option<jacquard_common::CowStr<'a>>, 4968 4968 /// The date and time of this write operation. 4969 4969 pub created_at: jacquard_common::types::string::Datetime, 4970 4970 /// The IP address used when initiating the AA flow. 4971 4971 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4972 4972 #[serde(borrow)] 4973 - pub init_ip: Option<jacquard_common::CowStr<'a>>, 4973 + pub init_ip: std::option::Option<jacquard_common::CowStr<'a>>, 4974 4974 /// The user agent used when initiating the AA flow. 4975 4975 #[serde(skip_serializing_if = "std::option::Option::is_none")] 4976 4976 #[serde(borrow)] 4977 - pub init_ua: Option<jacquard_common::CowStr<'a>>, 4977 + pub init_ua: std::option::Option<jacquard_common::CowStr<'a>>, 4978 4978 /// The status of the age assurance process. 4979 4979 #[serde(borrow)] 4980 4980 pub status: jacquard_common::CowStr<'a>, ··· 5312 5312 pub created_at: jacquard_common::types::string::Datetime, 5313 5313 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5314 5314 #[serde(borrow)] 5315 - pub details: Option<BlobViewDetails<'a>>, 5315 + pub details: std::option::Option<BlobViewDetails<'a>>, 5316 5316 #[serde(borrow)] 5317 5317 pub mime_type: jacquard_common::CowStr<'a>, 5318 5318 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5319 5319 #[serde(borrow)] 5320 - pub moderation: Option<crate::tools_ozone::moderation::Moderation<'a>>, 5320 + pub moderation: std::option::Option<crate::tools_ozone::moderation::Moderation<'a>>, 5321 5321 pub size: i64, 5322 5322 } 5323 5323 ··· 5662 5662 pub struct IdentityEvent<'a> { 5663 5663 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5664 5664 #[serde(borrow)] 5665 - pub comment: Option<jacquard_common::CowStr<'a>>, 5665 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 5666 5666 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5667 5667 #[serde(borrow)] 5668 - pub handle: Option<jacquard_common::types::string::Handle<'a>>, 5668 + pub handle: std::option::Option<jacquard_common::types::string::Handle<'a>>, 5669 5669 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5670 5670 #[serde(borrow)] 5671 - pub pds_host: Option<jacquard_common::types::string::Uri<'a>>, 5671 + pub pds_host: std::option::Option<jacquard_common::types::string::Uri<'a>>, 5672 5672 pub timestamp: jacquard_common::types::string::Datetime, 5673 5673 #[serde(skip_serializing_if = "std::option::Option::is_none")] 5674 - pub tombstone: Option<bool>, 5674 + pub tombstone: std::option::Option<bool>, 5675 5675 } 5676 5676 5677 5677 pub mod identity_event_state { ··· 6278 6278 pub struct ModEventLabel<'a> { 6279 6279 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6280 6280 #[serde(borrow)] 6281 - pub comment: Option<jacquard_common::CowStr<'a>>, 6281 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 6282 6282 #[serde(borrow)] 6283 6283 pub create_label_vals: Vec<jacquard_common::CowStr<'a>>, 6284 6284 /// Indicates how long the label will remain on the subject. Only applies on labels that are being added. 6285 6285 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6286 - pub duration_in_hours: Option<i64>, 6286 + pub duration_in_hours: std::option::Option<i64>, 6287 6287 #[serde(borrow)] 6288 6288 pub negate_label_vals: Vec<jacquard_common::CowStr<'a>>, 6289 6289 } ··· 6495 6495 pub struct ModEventMute<'a> { 6496 6496 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6497 6497 #[serde(borrow)] 6498 - pub comment: Option<jacquard_common::CowStr<'a>>, 6498 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 6499 6499 /// Indicates how long the subject should remain muted. 6500 6500 pub duration_in_hours: i64, 6501 6501 } ··· 6695 6695 pub struct ModEventPriorityScore<'a> { 6696 6696 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6697 6697 #[serde(borrow)] 6698 - pub comment: Option<jacquard_common::CowStr<'a>>, 6698 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 6699 6699 pub score: i64, 6700 6700 } 6701 6701 ··· 6882 6882 pub struct ModEventReport<'a> { 6883 6883 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6884 6884 #[serde(borrow)] 6885 - pub comment: Option<jacquard_common::CowStr<'a>>, 6885 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 6886 6886 /// Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject. 6887 6887 #[serde(skip_serializing_if = "std::option::Option::is_none")] 6888 - pub is_reporter_muted: Option<bool>, 6888 + pub is_reporter_muted: std::option::Option<bool>, 6889 6889 #[serde(borrow)] 6890 6890 pub report_type: crate::com_atproto::moderation::ReasonType<'a>, 6891 6891 } ··· 7163 7163 /// Additional comment about added/removed tags. 7164 7164 #[serde(skip_serializing_if = "std::option::Option::is_none")] 7165 7165 #[serde(borrow)] 7166 - pub comment: Option<jacquard_common::CowStr<'a>>, 7166 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 7167 7167 /// Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated. 7168 7168 #[serde(borrow)] 7169 7169 pub remove: Vec<jacquard_common::CowStr<'a>>, ··· 7504 7504 pub created_by: jacquard_common::types::string::Did<'a>, 7505 7505 #[serde(skip_serializing_if = "std::option::Option::is_none")] 7506 7506 #[serde(borrow)] 7507 - pub creator_handle: Option<jacquard_common::CowStr<'a>>, 7507 + pub creator_handle: std::option::Option<jacquard_common::CowStr<'a>>, 7508 7508 #[serde(borrow)] 7509 7509 pub event: ModEventViewEvent<'a>, 7510 7510 pub id: i64, 7511 7511 #[serde(skip_serializing_if = "std::option::Option::is_none")] 7512 7512 #[serde(borrow)] 7513 - pub mod_tool: Option<crate::tools_ozone::moderation::ModTool<'a>>, 7513 + pub mod_tool: std::option::Option<crate::tools_ozone::moderation::ModTool<'a>>, 7514 7514 #[serde(borrow)] 7515 7515 pub subject: ModEventViewSubject<'a>, 7516 7516 #[serde(borrow)] 7517 7517 pub subject_blob_cids: Vec<jacquard_common::CowStr<'a>>, 7518 7518 #[serde(skip_serializing_if = "std::option::Option::is_none")] 7519 7519 #[serde(borrow)] 7520 - pub subject_handle: Option<jacquard_common::CowStr<'a>>, 7520 + pub subject_handle: std::option::Option<jacquard_common::CowStr<'a>>, 7521 7521 } 7522 7522 7523 7523 pub mod mod_event_view_state { ··· 8033 8033 pub id: i64, 8034 8034 #[serde(skip_serializing_if = "std::option::Option::is_none")] 8035 8035 #[serde(borrow)] 8036 - pub mod_tool: Option<crate::tools_ozone::moderation::ModTool<'a>>, 8036 + pub mod_tool: std::option::Option<crate::tools_ozone::moderation::ModTool<'a>>, 8037 8037 #[serde(borrow)] 8038 8038 pub subject: ModEventViewDetailSubject<'a>, 8039 8039 #[serde(borrow)] ··· 8610 8610 pub struct RecordEvent<'a> { 8611 8611 #[serde(skip_serializing_if = "std::option::Option::is_none")] 8612 8612 #[serde(borrow)] 8613 - pub cid: Option<jacquard_common::types::string::Cid<'a>>, 8613 + pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 8614 8614 #[serde(skip_serializing_if = "std::option::Option::is_none")] 8615 8615 #[serde(borrow)] 8616 - pub comment: Option<jacquard_common::CowStr<'a>>, 8616 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 8617 8617 #[serde(borrow)] 8618 8618 pub op: jacquard_common::CowStr<'a>, 8619 8619 pub timestamp: jacquard_common::types::string::Datetime, ··· 9265 9265 pub indexed_at: jacquard_common::types::string::Datetime, 9266 9266 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9267 9267 #[serde(borrow)] 9268 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 9268 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 9269 9269 #[serde(borrow)] 9270 9270 pub moderation: crate::tools_ozone::moderation::ModerationDetail<'a>, 9271 9271 #[serde(borrow)] ··· 9868 9868 #[serde(rename_all = "camelCase")] 9869 9869 pub struct RepoView<'a> { 9870 9870 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9871 - pub deactivated_at: Option<jacquard_common::types::string::Datetime>, 9871 + pub deactivated_at: std::option::Option<jacquard_common::types::string::Datetime>, 9872 9872 #[serde(borrow)] 9873 9873 pub did: jacquard_common::types::string::Did<'a>, 9874 9874 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9875 9875 #[serde(borrow)] 9876 - pub email: Option<jacquard_common::CowStr<'a>>, 9876 + pub email: std::option::Option<jacquard_common::CowStr<'a>>, 9877 9877 #[serde(borrow)] 9878 9878 pub handle: jacquard_common::types::string::Handle<'a>, 9879 9879 pub indexed_at: jacquard_common::types::string::Datetime, 9880 9880 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9881 9881 #[serde(borrow)] 9882 - pub invite_note: Option<jacquard_common::CowStr<'a>>, 9882 + pub invite_note: std::option::Option<jacquard_common::CowStr<'a>>, 9883 9883 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9884 9884 #[serde(borrow)] 9885 - pub invited_by: Option<crate::com_atproto::server::InviteCode<'a>>, 9885 + pub invited_by: std::option::Option<crate::com_atproto::server::InviteCode<'a>>, 9886 9886 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9887 - pub invites_disabled: Option<bool>, 9887 + pub invites_disabled: std::option::Option<bool>, 9888 9888 #[serde(borrow)] 9889 9889 pub moderation: crate::tools_ozone::moderation::Moderation<'a>, 9890 9890 #[serde(borrow)] 9891 9891 pub related_records: Vec<jacquard_common::types::value::Data<'a>>, 9892 9892 #[serde(skip_serializing_if = "std::option::Option::is_none")] 9893 9893 #[serde(borrow)] 9894 - pub threat_signatures: Option<Vec<crate::com_atproto::admin::ThreatSignature<'a>>>, 9894 + pub threat_signatures: std::option::Option< 9895 + Vec<crate::com_atproto::admin::ThreatSignature<'a>>, 9896 + >, 9895 9897 } 9896 9898 9897 9899 pub mod repo_view_state { ··· 10316 10318 #[serde(rename_all = "camelCase")] 10317 10319 pub struct RepoViewDetail<'a> { 10318 10320 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10319 - pub deactivated_at: Option<jacquard_common::types::string::Datetime>, 10321 + pub deactivated_at: std::option::Option<jacquard_common::types::string::Datetime>, 10320 10322 #[serde(borrow)] 10321 10323 pub did: jacquard_common::types::string::Did<'a>, 10322 10324 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10323 10325 #[serde(borrow)] 10324 - pub email: Option<jacquard_common::CowStr<'a>>, 10326 + pub email: std::option::Option<jacquard_common::CowStr<'a>>, 10325 10327 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10326 - pub email_confirmed_at: Option<jacquard_common::types::string::Datetime>, 10328 + pub email_confirmed_at: std::option::Option< 10329 + jacquard_common::types::string::Datetime, 10330 + >, 10327 10331 #[serde(borrow)] 10328 10332 pub handle: jacquard_common::types::string::Handle<'a>, 10329 10333 pub indexed_at: jacquard_common::types::string::Datetime, 10330 10334 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10331 10335 #[serde(borrow)] 10332 - pub invite_note: Option<jacquard_common::CowStr<'a>>, 10336 + pub invite_note: std::option::Option<jacquard_common::CowStr<'a>>, 10333 10337 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10334 10338 #[serde(borrow)] 10335 - pub invited_by: Option<crate::com_atproto::server::InviteCode<'a>>, 10339 + pub invited_by: std::option::Option<crate::com_atproto::server::InviteCode<'a>>, 10336 10340 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10337 10341 #[serde(borrow)] 10338 - pub invites: Option<Vec<crate::com_atproto::server::InviteCode<'a>>>, 10342 + pub invites: std::option::Option<Vec<crate::com_atproto::server::InviteCode<'a>>>, 10339 10343 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10340 - pub invites_disabled: Option<bool>, 10344 + pub invites_disabled: std::option::Option<bool>, 10341 10345 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10342 10346 #[serde(borrow)] 10343 - pub labels: Option<Vec<crate::com_atproto::label::Label<'a>>>, 10347 + pub labels: std::option::Option<Vec<crate::com_atproto::label::Label<'a>>>, 10344 10348 #[serde(borrow)] 10345 10349 pub moderation: crate::tools_ozone::moderation::ModerationDetail<'a>, 10346 10350 #[serde(borrow)] 10347 10351 pub related_records: Vec<jacquard_common::types::value::Data<'a>>, 10348 10352 #[serde(skip_serializing_if = "std::option::Option::is_none")] 10349 10353 #[serde(borrow)] 10350 - pub threat_signatures: Option<Vec<crate::com_atproto::admin::ThreatSignature<'a>>>, 10354 + pub threat_signatures: std::option::Option< 10355 + Vec<crate::com_atproto::admin::ThreatSignature<'a>>, 10356 + >, 10351 10357 } 10352 10358 10353 10359 pub mod repo_view_detail_state { ··· 11644 11650 /// Serialized event object that will be propagated to the event when performed 11645 11651 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11646 11652 #[serde(borrow)] 11647 - pub event_data: Option<jacquard_common::types::value::Data<'a>>, 11653 + pub event_data: std::option::Option<jacquard_common::types::value::Data<'a>>, 11648 11654 /// Earliest time to execute the action (for randomized scheduling) 11649 11655 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11650 - pub execute_after: Option<jacquard_common::types::string::Datetime>, 11656 + pub execute_after: std::option::Option<jacquard_common::types::string::Datetime>, 11651 11657 /// Exact time to execute the action 11652 11658 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11653 - pub execute_at: Option<jacquard_common::types::string::Datetime>, 11659 + pub execute_at: std::option::Option<jacquard_common::types::string::Datetime>, 11654 11660 /// Latest time to execute the action (for randomized scheduling) 11655 11661 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11656 - pub execute_until: Option<jacquard_common::types::string::Datetime>, 11662 + pub execute_until: std::option::Option<jacquard_common::types::string::Datetime>, 11657 11663 /// ID of the moderation event created when action was successfully executed 11658 11664 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11659 - pub execution_event_id: Option<i64>, 11665 + pub execution_event_id: std::option::Option<i64>, 11660 11666 /// Auto-incrementing row ID 11661 11667 pub id: i64, 11662 11668 /// When the action was last attempted to be executed 11663 11669 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11664 - pub last_executed_at: Option<jacquard_common::types::string::Datetime>, 11670 + pub last_executed_at: std::option::Option<jacquard_common::types::string::Datetime>, 11665 11671 /// Reason for the last execution failure 11666 11672 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11667 11673 #[serde(borrow)] 11668 - pub last_failure_reason: Option<jacquard_common::CowStr<'a>>, 11674 + pub last_failure_reason: std::option::Option<jacquard_common::CowStr<'a>>, 11669 11675 /// Whether execution time should be randomized within the specified range 11670 11676 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11671 - pub randomize_execution: Option<bool>, 11677 + pub randomize_execution: std::option::Option<bool>, 11672 11678 /// Current status of the scheduled action 11673 11679 #[serde(borrow)] 11674 11680 pub status: jacquard_common::CowStr<'a>, 11675 11681 /// When the scheduled action was last updated 11676 11682 #[serde(skip_serializing_if = "std::option::Option::is_none")] 11677 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 11683 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 11678 11684 } 11679 11685 11680 11686 pub mod scheduled_action_view_state { ··· 12297 12303 /// Statistics related to the account subject 12298 12304 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12299 12305 #[serde(borrow)] 12300 - pub account_stats: Option<crate::tools_ozone::moderation::AccountStats<'a>>, 12306 + pub account_stats: std::option::Option< 12307 + crate::tools_ozone::moderation::AccountStats<'a>, 12308 + >, 12301 12309 /// Strike information for the account (account-level only) 12302 12310 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12303 12311 #[serde(borrow)] 12304 - pub account_strike: Option<crate::tools_ozone::moderation::AccountStrike<'a>>, 12312 + pub account_strike: std::option::Option< 12313 + crate::tools_ozone::moderation::AccountStrike<'a>, 12314 + >, 12305 12315 /// Current age assurance state of the subject. 12306 12316 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12307 12317 #[serde(borrow)] 12308 - pub age_assurance_state: Option<jacquard_common::CowStr<'a>>, 12318 + pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>, 12309 12319 /// Whether or not the last successful update to age assurance was made by the user or admin. 12310 12320 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12311 12321 #[serde(borrow)] 12312 - pub age_assurance_updated_by: Option<jacquard_common::CowStr<'a>>, 12322 + pub age_assurance_updated_by: std::option::Option<jacquard_common::CowStr<'a>>, 12313 12323 /// True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators. 12314 12324 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12315 - pub appealed: Option<bool>, 12325 + pub appealed: std::option::Option<bool>, 12316 12326 /// Sticky comment on the subject. 12317 12327 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12318 12328 #[serde(borrow)] 12319 - pub comment: Option<jacquard_common::CowStr<'a>>, 12329 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 12320 12330 /// Timestamp referencing the first moderation status impacting event was emitted on the subject 12321 12331 pub created_at: jacquard_common::types::string::Datetime, 12322 12332 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12323 12333 #[serde(borrow)] 12324 - pub hosting: Option<SubjectStatusViewHosting<'a>>, 12334 + pub hosting: std::option::Option<SubjectStatusViewHosting<'a>>, 12325 12335 pub id: i64, 12326 12336 /// Timestamp referencing when the author of the subject appealed a moderation action 12327 12337 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12328 - pub last_appealed_at: Option<jacquard_common::types::string::Datetime>, 12338 + pub last_appealed_at: std::option::Option<jacquard_common::types::string::Datetime>, 12329 12339 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12330 - pub last_reported_at: Option<jacquard_common::types::string::Datetime>, 12340 + pub last_reported_at: std::option::Option<jacquard_common::types::string::Datetime>, 12331 12341 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12332 - pub last_reviewed_at: Option<jacquard_common::types::string::Datetime>, 12342 + pub last_reviewed_at: std::option::Option<jacquard_common::types::string::Datetime>, 12333 12343 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12334 12344 #[serde(borrow)] 12335 - pub last_reviewed_by: Option<jacquard_common::types::string::Did<'a>>, 12345 + pub last_reviewed_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 12336 12346 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12337 - pub mute_reporting_until: Option<jacquard_common::types::string::Datetime>, 12347 + pub mute_reporting_until: std::option::Option< 12348 + jacquard_common::types::string::Datetime, 12349 + >, 12338 12350 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12339 - pub mute_until: Option<jacquard_common::types::string::Datetime>, 12351 + pub mute_until: std::option::Option<jacquard_common::types::string::Datetime>, 12340 12352 /// Numeric value representing the level of priority. Higher score means higher priority. 12341 12353 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12342 - pub priority_score: Option<i64>, 12354 + pub priority_score: std::option::Option<i64>, 12343 12355 /// Statistics related to the record subjects authored by the subject's account 12344 12356 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12345 12357 #[serde(borrow)] 12346 - pub records_stats: Option<crate::tools_ozone::moderation::RecordsStats<'a>>, 12358 + pub records_stats: std::option::Option< 12359 + crate::tools_ozone::moderation::RecordsStats<'a>, 12360 + >, 12347 12361 #[serde(borrow)] 12348 12362 pub review_state: crate::tools_ozone::moderation::SubjectReviewState<'a>, 12349 12363 #[serde(borrow)] 12350 12364 pub subject: SubjectStatusViewSubject<'a>, 12351 12365 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12352 12366 #[serde(borrow)] 12353 - pub subject_blob_cids: Option<Vec<jacquard_common::types::string::Cid<'a>>>, 12367 + pub subject_blob_cids: std::option::Option< 12368 + Vec<jacquard_common::types::string::Cid<'a>>, 12369 + >, 12354 12370 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12355 12371 #[serde(borrow)] 12356 - pub subject_repo_handle: Option<jacquard_common::CowStr<'a>>, 12372 + pub subject_repo_handle: std::option::Option<jacquard_common::CowStr<'a>>, 12357 12373 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12358 - pub suspend_until: Option<jacquard_common::types::string::Datetime>, 12374 + pub suspend_until: std::option::Option<jacquard_common::types::string::Datetime>, 12359 12375 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12360 12376 #[serde(borrow)] 12361 - pub tags: Option<Vec<jacquard_common::CowStr<'a>>>, 12377 + pub tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 12362 12378 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12363 - pub takendown: Option<bool>, 12379 + pub takendown: std::option::Option<bool>, 12364 12380 /// Timestamp referencing when the last update was made to the moderation status of the subject 12365 12381 pub updated_at: jacquard_common::types::string::Datetime, 12366 12382 } ··· 13158 13174 pub struct SubjectView<'a> { 13159 13175 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13160 13176 #[serde(borrow)] 13161 - pub profile: Option<jacquard_common::types::value::Data<'a>>, 13177 + pub profile: std::option::Option<jacquard_common::types::value::Data<'a>>, 13162 13178 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13163 13179 #[serde(borrow)] 13164 - pub record: Option<crate::tools_ozone::moderation::RecordViewDetail<'a>>, 13180 + pub record: std::option::Option< 13181 + crate::tools_ozone::moderation::RecordViewDetail<'a>, 13182 + >, 13165 13183 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13166 13184 #[serde(borrow)] 13167 - pub repo: Option<crate::tools_ozone::moderation::RepoViewDetail<'a>>, 13185 + pub repo: std::option::Option<crate::tools_ozone::moderation::RepoViewDetail<'a>>, 13168 13186 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13169 13187 #[serde(borrow)] 13170 - pub status: Option<crate::tools_ozone::moderation::SubjectStatusView<'a>>, 13188 + pub status: std::option::Option< 13189 + crate::tools_ozone::moderation::SubjectStatusView<'a>, 13190 + >, 13171 13191 #[serde(borrow)] 13172 13192 pub subject: jacquard_common::CowStr<'a>, 13173 13193 #[serde(borrow)]
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs
··· 440 440 pub error: jacquard_common::CowStr<'a>, 441 441 #[serde(skip_serializing_if = "std::option::Option::is_none")] 442 442 #[serde(borrow)] 443 - pub error_code: Option<jacquard_common::CowStr<'a>>, 443 + pub error_code: std::option::Option<jacquard_common::CowStr<'a>>, 444 444 } 445 445 446 446 pub mod failed_cancellation_state { ··· 637 637 /// Optional comment describing the reason for cancellation 638 638 #[serde(skip_serializing_if = "std::option::Option::is_none")] 639 639 #[serde(borrow)] 640 - pub comment: Option<jacquard_common::CowStr<'a>>, 640 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 641 641 /// Array of DID subjects to cancel scheduled actions for 642 642 #[serde(borrow)] 643 643 pub subjects: Vec<jacquard_common::types::string::Did<'a>>,
+5 -3
crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs
··· 24 24 /// An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub external_id: Option<jacquard_common::CowStr<'a>>, 27 + pub external_id: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub mod_tool: Option<crate::tools_ozone::moderation::ModTool<'a>>, 30 + pub mod_tool: std::option::Option<crate::tools_ozone::moderation::ModTool<'a>>, 31 31 #[serde(borrow)] 32 32 pub subject: EmitEventSubject<'a>, 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[serde(borrow)] 35 - pub subject_blob_cids: Option<Vec<jacquard_common::types::string::Cid<'a>>>, 35 + pub subject_blob_cids: std::option::Option< 36 + Vec<jacquard_common::types::string::Cid<'a>>, 37 + >, 36 38 } 37 39 38 40 pub mod emit_event_state {
+5 -5
crates/jacquard-api/src/tools_ozone/moderation/list_scheduled_actions.rs
··· 20 20 /// Cursor for pagination 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub cursor: Option<jacquard_common::CowStr<'a>>, 23 + pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Filter actions scheduled to execute before this time 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub ends_before: Option<jacquard_common::types::string::Datetime>, 26 + pub ends_before: std::option::Option<jacquard_common::types::string::Datetime>, 27 27 /// Maximum number of results to return 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 - pub limit: Option<i64>, 29 + pub limit: std::option::Option<i64>, 30 30 /// Filter actions scheduled to execute after this time 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 - pub starts_after: Option<jacquard_common::types::string::Datetime>, 32 + pub starts_after: std::option::Option<jacquard_common::types::string::Datetime>, 33 33 /// Filter actions by status 34 34 #[serde(borrow)] 35 35 pub statuses: Vec<jacquard_common::CowStr<'a>>, 36 36 /// Filter actions for specific DID subjects 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub subjects: Option<Vec<jacquard_common::types::string::Did<'a>>>, 39 + pub subjects: std::option::Option<Vec<jacquard_common::types::string::Did<'a>>>, 40 40 } 41 41 42 42 pub mod list_scheduled_actions_state {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs
··· 21 21 pub error: jacquard_common::CowStr<'a>, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[serde(borrow)] 24 - pub error_code: Option<jacquard_common::CowStr<'a>>, 24 + pub error_code: std::option::Option<jacquard_common::CowStr<'a>>, 25 25 #[serde(borrow)] 26 26 pub subject: jacquard_common::types::string::Did<'a>, 27 27 } ··· 642 642 /// This will be propagated to the moderation event when it is applied 643 643 #[serde(skip_serializing_if = "std::option::Option::is_none")] 644 644 #[serde(borrow)] 645 - pub mod_tool: Option<crate::tools_ozone::moderation::ModTool<'a>>, 645 + pub mod_tool: std::option::Option<crate::tools_ozone::moderation::ModTool<'a>>, 646 646 #[serde(borrow)] 647 647 pub scheduling: crate::tools_ozone::moderation::schedule_action::SchedulingConfig< 648 648 'a,
+2 -2
crates/jacquard-api/src/tools_ozone/safelink.rs
··· 110 110 /// Optional comment about the decision 111 111 #[serde(skip_serializing_if = "std::option::Option::is_none")] 112 112 #[serde(borrow)] 113 - pub comment: Option<jacquard_common::CowStr<'a>>, 113 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 114 114 pub created_at: jacquard_common::types::string::Datetime, 115 115 /// DID of the user who created this rule 116 116 #[serde(borrow)] ··· 1206 1206 /// Optional comment about the decision 1207 1207 #[serde(skip_serializing_if = "std::option::Option::is_none")] 1208 1208 #[serde(borrow)] 1209 - pub comment: Option<jacquard_common::CowStr<'a>>, 1209 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 1210 1210 /// Timestamp when the rule was created 1211 1211 pub created_at: jacquard_common::types::string::Datetime, 1212 1212 /// DID of the user added the rule.
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs
··· 22 22 /// Optional comment about the decision 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub comment: Option<jacquard_common::CowStr<'a>>, 25 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 /// Author DID. Only respected when using admin auth 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub created_by: Option<jacquard_common::types::string::Did<'a>>, 29 + pub created_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 30 30 #[serde(borrow)] 31 31 pub pattern: crate::tools_ozone::safelink::PatternType<'a>, 32 32 #[serde(borrow)]
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs
··· 20 20 /// Optional comment about why the rule is being removed 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub comment: Option<jacquard_common::CowStr<'a>>, 23 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Optional DID of the user. Only respected when using admin auth. 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub created_by: Option<jacquard_common::types::string::Did<'a>>, 27 + pub created_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 28 28 #[serde(borrow)] 29 29 pub pattern: crate::tools_ozone::safelink::PatternType<'a>, 30 30 /// The URL or domain to remove the rule for
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs
··· 22 22 /// Optional comment about the update 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[serde(borrow)] 25 - pub comment: Option<jacquard_common::CowStr<'a>>, 25 + pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 26 26 /// Optional DID to credit as the creator. Only respected for admin_token authentication. 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub created_by: Option<jacquard_common::types::string::Did<'a>>, 29 + pub created_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 30 30 #[serde(borrow)] 31 31 pub pattern: crate::tools_ozone::safelink::PatternType<'a>, 32 32 #[serde(borrow)]
+1 -1
crates/jacquard-api/src/tools_ozone/set.rs
··· 283 283 pub created_at: jacquard_common::types::string::Datetime, 284 284 #[serde(skip_serializing_if = "std::option::Option::is_none")] 285 285 #[serde(borrow)] 286 - pub description: Option<jacquard_common::CowStr<'a>>, 286 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 287 287 #[serde(borrow)] 288 288 pub name: jacquard_common::CowStr<'a>, 289 289 pub set_size: i64,
+4 -4
crates/jacquard-api/src/tools_ozone/setting.rs
··· 22 22 #[serde(rename_all = "camelCase")] 23 23 pub struct DefsOption<'a> { 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 - pub created_at: Option<jacquard_common::types::string::Datetime>, 25 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 26 26 #[serde(borrow)] 27 27 pub created_by: jacquard_common::types::string::Did<'a>, 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[serde(borrow)] 30 - pub description: Option<jacquard_common::CowStr<'a>>, 30 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 31 31 #[serde(borrow)] 32 32 pub did: jacquard_common::types::string::Did<'a>, 33 33 #[serde(borrow)] ··· 36 36 pub last_updated_by: jacquard_common::types::string::Did<'a>, 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[serde(borrow)] 39 - pub manager_role: Option<jacquard_common::CowStr<'a>>, 39 + pub manager_role: std::option::Option<jacquard_common::CowStr<'a>>, 40 40 #[serde(borrow)] 41 41 pub scope: jacquard_common::CowStr<'a>, 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 43 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 44 44 #[serde(borrow)] 45 45 pub value: jacquard_common::types::value::Data<'a>, 46 46 }
+2 -2
crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs
··· 19 19 pub struct UpsertOption<'a> { 20 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 21 #[serde(borrow)] 22 - pub description: Option<jacquard_common::CowStr<'a>>, 22 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 23 23 #[serde(borrow)] 24 24 pub key: jacquard_common::types::string::Nsid<'a>, 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[serde(borrow)] 27 - pub manager_role: Option<jacquard_common::CowStr<'a>>, 27 + pub manager_role: std::option::Option<jacquard_common::CowStr<'a>>, 28 28 #[serde(borrow)] 29 29 pub scope: jacquard_common::CowStr<'a>, 30 30 #[serde(borrow)]
+5 -5
crates/jacquard-api/src/tools_ozone/team.rs
··· 23 23 #[serde(rename_all = "camelCase")] 24 24 pub struct Member<'a> { 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 - pub created_at: Option<jacquard_common::types::string::Datetime>, 26 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 27 27 #[serde(borrow)] 28 28 pub did: jacquard_common::types::string::Did<'a>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 - pub disabled: Option<bool>, 30 + pub disabled: std::option::Option<bool>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[serde(borrow)] 33 - pub last_updated_by: Option<jacquard_common::CowStr<'a>>, 33 + pub last_updated_by: std::option::Option<jacquard_common::CowStr<'a>>, 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 - pub profile: Option<crate::app_bsky::actor::ProfileViewDetailed<'a>>, 36 + pub profile: std::option::Option<crate::app_bsky::actor::ProfileViewDetailed<'a>>, 37 37 #[serde(borrow)] 38 38 pub role: jacquard_common::CowStr<'a>, 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 - pub updated_at: Option<jacquard_common::types::string::Datetime>, 40 + pub updated_at: std::option::Option<jacquard_common::types::string::Datetime>, 41 41 } 42 42 43 43 pub mod member_state {
+2 -2
crates/jacquard-api/src/tools_ozone/team/update_member.rs
··· 20 20 #[serde(borrow)] 21 21 pub did: jacquard_common::types::string::Did<'a>, 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 - pub disabled: Option<bool>, 23 + pub disabled: std::option::Option<bool>, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub role: Option<jacquard_common::CowStr<'a>>, 26 + pub role: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 } 28 28 29 29 pub mod update_member_state {
+7 -7
crates/jacquard-api/src/tools_ozone/verification.rs
··· 35 35 pub issuer: jacquard_common::types::string::Did<'a>, 36 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 37 #[serde(borrow)] 38 - pub issuer_profile: Option<jacquard_common::types::value::Data<'a>>, 38 + pub issuer_profile: std::option::Option<jacquard_common::types::value::Data<'a>>, 39 39 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 40 #[serde(borrow)] 41 - pub issuer_repo: Option<VerificationViewIssuerRepo<'a>>, 41 + pub issuer_repo: std::option::Option<VerificationViewIssuerRepo<'a>>, 42 42 /// Describes the reason for revocation, also indicating that the verification is no longer valid. 43 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 44 #[serde(borrow)] 45 - pub revoke_reason: Option<jacquard_common::CowStr<'a>>, 45 + pub revoke_reason: std::option::Option<jacquard_common::CowStr<'a>>, 46 46 /// Timestamp when the verification was revoked. 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 - pub revoked_at: Option<jacquard_common::types::string::Datetime>, 48 + pub revoked_at: std::option::Option<jacquard_common::types::string::Datetime>, 49 49 /// The user who revoked this verification. 50 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 51 51 #[serde(borrow)] 52 - pub revoked_by: Option<jacquard_common::types::string::Did<'a>>, 52 + pub revoked_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 53 53 /// The subject of the verification. 54 54 #[serde(borrow)] 55 55 pub subject: jacquard_common::types::string::Did<'a>, 56 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 57 57 #[serde(borrow)] 58 - pub subject_profile: Option<jacquard_common::types::value::Data<'a>>, 58 + pub subject_profile: std::option::Option<jacquard_common::types::value::Data<'a>>, 59 59 #[serde(skip_serializing_if = "std::option::Option::is_none")] 60 60 #[serde(borrow)] 61 - pub subject_repo: Option<VerificationViewSubjectRepo<'a>>, 61 + pub subject_repo: std::option::Option<VerificationViewSubjectRepo<'a>>, 62 62 /// The AT-URI of the verification record. 63 63 #[serde(borrow)] 64 64 pub uri: jacquard_common::types::string::AtUri<'a>,
+1 -1
crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs
··· 618 618 pub struct VerificationInput<'a> { 619 619 /// Timestamp for verification record. Defaults to current time when not specified. 620 620 #[serde(skip_serializing_if = "std::option::Option::is_none")] 621 - pub created_at: Option<jacquard_common::types::string::Datetime>, 621 + pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 622 622 /// Display name of the subject the verification applies to at the moment of verifying. 623 623 #[serde(borrow)] 624 624 pub display_name: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs
··· 20 20 /// Reason for revoking the verification. This is optional and can be omitted if not needed. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub revoke_reason: Option<jacquard_common::CowStr<'a>>, 23 + pub revoke_reason: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Array of verification record uris to revoke 25 25 #[serde(borrow)] 26 26 pub uris: Vec<jacquard_common::types::string::AtUri<'a>>,
+6 -6
crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs
··· 20 20 /// Alt text description of the content, for accessibility. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub alt: Option<jacquard_common::CowStr<'a>>, 23 + pub alt: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 #[serde(borrow)] 25 25 pub content: jacquard_common::types::blob::BlobRef<'a>, 26 26 } ··· 338 338 pub struct Post<'a> { 339 339 #[serde(skip_serializing_if = "std::option::Option::is_none")] 340 340 #[serde(borrow)] 341 - pub attachments: Option< 341 + pub attachments: std::option::Option< 342 342 Vec<crate::tools_smokesignal::blahg::content::post::Attachment<'a>>, 343 343 >, 344 344 /// The content of the post 345 345 #[serde(skip_serializing_if = "std::option::Option::is_none")] 346 346 #[serde(borrow)] 347 - pub content: Option<jacquard_common::types::blob::BlobRef<'a>>, 347 + pub content: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 348 348 /// Indicates human language of text content. 349 349 #[serde(skip_serializing_if = "std::option::Option::is_none")] 350 - pub langs: Option<Vec<jacquard_common::types::string::Language>>, 350 + pub langs: std::option::Option<Vec<jacquard_common::types::string::Language>>, 351 351 #[serde(skip_serializing_if = "std::option::Option::is_none")] 352 - pub published_at: Option<jacquard_common::types::string::Datetime>, 352 + pub published_at: std::option::Option<jacquard_common::types::string::Datetime>, 353 353 #[serde(skip_serializing_if = "std::option::Option::is_none")] 354 354 #[serde(borrow)] 355 - pub title: Option<jacquard_common::CowStr<'a>>, 355 + pub title: std::option::Option<jacquard_common::CowStr<'a>>, 356 356 } 357 357 358 358 pub mod post_state {
+2 -2
crates/jacquard-api/src/uk_skyblur/post.rs
··· 25 25 /// The post additional contents. 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[serde(borrow)] 28 - pub additional: Option<jacquard_common::CowStr<'a>>, 28 + pub additional: std::option::Option<jacquard_common::CowStr<'a>>, 29 29 /// Created date assigned by client 30 30 pub created_at: jacquard_common::types::string::Datetime, 31 31 /// Encrypted post body. It shoud be decrypted by the client with AES-256. 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[serde(borrow)] 34 - pub encrypt_body: Option<jacquard_common::types::blob::BlobRef<'a>>, 34 + pub encrypt_body: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 35 35 /// The post main contents. Blurred text must be enclosed in brackets []. 36 36 #[serde(borrow)] 37 37 pub text: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/uk_skyblur/post/get_post.rs
··· 20 20 /// If the specified uri is password-protected, please provide the password. If no password is specified, the non-protected content will be returned. 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub password: Option<jacquard_common::CowStr<'a>>, 23 + pub password: std::option::Option<jacquard_common::CowStr<'a>>, 24 24 /// Skyblur post at-uri. It shoud be uk.skyblur.post collection. 25 25 #[serde(borrow)] 26 26 pub uri: jacquard_common::types::string::AtUri<'a>,
+1 -1
crates/jacquard-api/src/uk_skyblur/preference.rs
··· 318 318 /// Define the description displayed on MyPage. 319 319 #[serde(skip_serializing_if = "std::option::Option::is_none")] 320 320 #[serde(borrow)] 321 - pub description: Option<jacquard_common::CowStr<'a>>, 321 + pub description: std::option::Option<jacquard_common::CowStr<'a>>, 322 322 /// If this item is true, MyPage will be displayed. 323 323 pub is_use_my_page: bool, 324 324 }
+1 -1
crates/jacquard-api/src/us_polhem/blog/content.rs
··· 23 23 pub created_at: jacquard_common::types::string::Datetime, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub images: Option<Vec<jacquard_common::types::value::Data<'a>>>, 26 + pub images: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 27 27 #[serde(borrow)] 28 28 pub slug: jacquard_common::CowStr<'a>, 29 29 }
+5 -5
crates/jacquard-api/src/us_polhem/blog/post.rs
··· 23 23 pub created_at: jacquard_common::types::string::Datetime, 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[serde(borrow)] 26 - pub excerpt: Option<jacquard_common::CowStr<'a>>, 26 + pub excerpt: std::option::Option<jacquard_common::CowStr<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[serde(borrow)] 29 - pub featured_image: Option<crate::app_bsky::embed::images::Image<'a>>, 29 + pub featured_image: std::option::Option<crate::app_bsky::embed::images::Image<'a>>, 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[serde(borrow)] 32 - pub images: Option<Vec<crate::app_bsky::embed::images::Image<'a>>>, 32 + pub images: std::option::Option<Vec<crate::app_bsky::embed::images::Image<'a>>>, 33 33 #[serde(borrow)] 34 34 pub slug: jacquard_common::CowStr<'a>, 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[serde(borrow)] 37 - pub tags: Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 37 + pub tags: std::option::Option<Vec<jacquard_common::types::string::AtUri<'a>>>, 38 38 #[serde(borrow)] 39 39 pub title: jacquard_common::CowStr<'a>, 40 40 /// Tells the visibility of the article to AppView. 41 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 42 #[serde(borrow)] 43 - pub visibility: Option<jacquard_common::CowStr<'a>>, 43 + pub visibility: std::option::Option<jacquard_common::CowStr<'a>>, 44 44 } 45 45 46 46 pub mod post_state {
+1 -1
crates/jacquard-api/src/win_tomo_x/pushat/allow.rs
··· 20 20 pub struct Allow<'a> { 21 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 22 #[serde(borrow)] 23 - pub config: Option<jacquard_common::types::value::Data<'a>>, 23 + pub config: std::option::Option<jacquard_common::types::value::Data<'a>>, 24 24 pub created_at: jacquard_common::types::string::Datetime, 25 25 } 26 26