A better Rust ATProto crate

bon builder derives for nicer api surface

Orual 5f91bd57 aa87f30d

Changed files
+3102 -295
crates
jacquard
jacquard-api
src
app_bsky
actor
bookmark
feed
graph
labeler
notification
unspecced
video
chat_bsky
com_atproto
tools_ozone
jacquard-derive
jacquard-lexicon
+41 -2
Cargo.lock
··· 187 187 ] 188 188 189 189 [[package]] 190 + name = "bon" 191 + version = "3.7.2" 192 + source = "registry+https://github.com/rust-lang/crates.io-index" 193 + checksum = "c2529c31017402be841eb45892278a6c21a000c0a17643af326c73a73f83f0fb" 194 + dependencies = [ 195 + "bon-macros", 196 + "rustversion", 197 + ] 198 + 199 + [[package]] 200 + name = "bon-macros" 201 + version = "3.7.2" 202 + source = "registry+https://github.com/rust-lang/crates.io-index" 203 + checksum = "d82020dadcb845a345591863adb65d74fa8dc5c18a0b6d408470e13b7adc7005" 204 + dependencies = [ 205 + "darling", 206 + "ident_case", 207 + "prettyplease", 208 + "proc-macro2", 209 + "quote", 210 + "rustversion", 211 + "syn 2.0.106", 212 + ] 213 + 214 + [[package]] 190 215 name = "borsh" 191 216 version = "1.5.7" 192 217 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 589 614 checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 590 615 dependencies = [ 591 616 "libc", 592 - "windows-sys 0.52.0", 617 + "windows-sys 0.60.2", 593 618 ] 594 619 595 620 [[package]] ··· 1122 1147 "serde_ipld_dagcbor", 1123 1148 "serde_json", 1124 1149 "thiserror 2.0.17", 1150 + "tokio", 1125 1151 ] 1126 1152 1127 1153 [[package]] 1128 1154 name = "jacquard-api" 1129 1155 version = "0.1.0" 1130 1156 dependencies = [ 1157 + "bon", 1131 1158 "bytes", 1132 1159 "jacquard-common", 1133 1160 "jacquard-derive", ··· 1749 1776 "errno", 1750 1777 "libc", 1751 1778 "linux-raw-sys", 1752 - "windows-sys 0.52.0", 1779 + "windows-sys 0.60.2", 1753 1780 ] 1754 1781 1755 1782 [[package]] ··· 2267 2294 "pin-project-lite", 2268 2295 "slab", 2269 2296 "socket2", 2297 + "tokio-macros", 2270 2298 "windows-sys 0.59.0", 2299 + ] 2300 + 2301 + [[package]] 2302 + name = "tokio-macros" 2303 + version = "2.5.0" 2304 + source = "registry+https://github.com/rust-lang/crates.io-index" 2305 + checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" 2306 + dependencies = [ 2307 + "proc-macro2", 2308 + "quote", 2309 + "syn 2.0.106", 2271 2310 ] 2272 2311 2273 2312 [[package]]
+1
crates/jacquard-api/Cargo.toml
··· 19 19 tools_ozone = [] 20 20 21 21 [dependencies] 22 + bon = "3" 22 23 bytes = { version = "1.10.1", features = ["serde"] } 23 24 jacquard-common = { version = "0.1.0", path = "../jacquard-common" } 24 25 jacquard-derive = { version = "0.1.0", path = "../jacquard-derive" }
+10 -1
crates/jacquard-api/src/app_bsky/actor/get_preferences.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetPreferences {} 11 20 impl jacquard_common::IntoStatic for GetPreferences {
+10 -1
crates/jacquard-api/src/app_bsky/actor/get_profile.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetProfile<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/actor/get_profiles.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetProfiles<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestions<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+17 -1
crates/jacquard-api/src/app_bsky/actor/put_preferences.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct PutPreferences<'a> { 12 21 #[serde(borrow)] 13 22 pub preferences: crate::app_bsky::actor::Preferences<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for PutPreferences<'_> {
+13 -1
crates/jacquard-api/src/app_bsky/actor/search_actors.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchActors<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 25, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub q: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 32 #[serde(borrow)] 33 + #[builder(into)] 22 34 pub term: std::option::Option<jacquard_common::CowStr<'a>>, 23 35 } 24 36
+12 -1
crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchActorsTypeahead<'a> { 11 20 ///(default: 10, min: 1, max: 100) ··· 13 22 pub limit: std::option::Option<i64>, 14 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub q: std::option::Option<jacquard_common::CowStr<'a>>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub term: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 } 21 32
+17 -1
crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateBookmark<'a> { 12 21 #[serde(borrow)] 13 22 pub cid: jacquard_common::types::string::Cid<'a>, 14 23 #[serde(borrow)] 15 24 pub uri: jacquard_common::types::string::AtUri<'a>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 16 32 } 17 33 18 34 impl jacquard_common::IntoStatic for CreateBookmark<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteBookmark<'a> { 12 21 #[serde(borrow)] 13 22 pub uri: jacquard_common::types::string::AtUri<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for DeleteBookmark<'_> {
+11 -1
crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetBookmarks<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetActorFeeds<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetActorLikes<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+12 -1
crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetAuthorFeed<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: "posts_with_replies") 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub filter: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 ///(default: false) 21 32 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_feed.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetFeed<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(borrow)] 15 25 pub feed: jacquard_common::types::string::AtUri<'a>,
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetFeedGenerator<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetFeedGenerators<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetFeedSkeleton<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(borrow)] 15 25 pub feed: jacquard_common::types::string::AtUri<'a>,
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_likes.rs
··· 27 27 } 28 28 } 29 29 30 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 30 + #[derive( 31 + serde::Serialize, 32 + serde::Deserialize, 33 + Debug, 34 + Clone, 35 + PartialEq, 36 + Eq, 37 + bon::Builder 38 + )] 39 + #[builder(start_fn = new)] 31 40 #[serde(rename_all = "camelCase")] 32 41 pub struct GetLikes<'a> { 33 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 35 44 pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 36 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 46 #[serde(borrow)] 47 + #[builder(into)] 38 48 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 39 49 ///(default: 50, min: 1, max: 100) 40 50 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetListFeed<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetPostThread<'a> { 11 20 ///(default: 6, min: 0, max: 1000)
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_posts.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetPosts<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_quotes.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetQuotes<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 13 22 pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 14 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 17 27 ///(default: 50, min: 1, max: 100) 18 28 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRepostedBy<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 13 22 pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>, 14 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 17 27 ///(default: 50, min: 1, max: 100) 18 28 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedFeeds<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+12 -1
crates/jacquard-api/src/app_bsky/feed/get_timeline.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetTimeline<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub algorithm: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 #[serde(borrow)] 26 + #[builder(into)] 16 27 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 17 28 ///(default: 50, min: 1, max: 100) 18 29 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+16 -1
crates/jacquard-api/src/app_bsky/feed/search_posts.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchPosts<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 13 22 pub author: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>, 14 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub domain: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 32 pub lang: std::option::Option<jacquard_common::types::string::Language>, ··· 26 37 #[serde(borrow)] 27 38 pub mentions: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>, 28 39 #[serde(borrow)] 40 + #[builder(into)] 29 41 pub q: jacquard_common::CowStr<'a>, 30 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 43 #[serde(borrow)] 44 + #[builder(into)] 32 45 pub since: std::option::Option<jacquard_common::CowStr<'a>>, 33 46 ///(default: "latest") 34 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 48 #[serde(borrow)] 49 + #[builder(into)] 36 50 pub sort: std::option::Option<jacquard_common::CowStr<'a>>, 37 51 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 52 #[serde(borrow)] 39 53 pub tag: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 40 54 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 55 #[serde(borrow)] 56 + #[builder(into)] 42 57 pub until: std::option::Option<jacquard_common::CowStr<'a>>, 43 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 59 #[serde(borrow)]
+17 -1
crates/jacquard-api/src/app_bsky/feed/send_interactions.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct SendInteractions<'a> { 12 21 #[serde(borrow)] 13 22 pub interactions: Vec<crate::app_bsky::feed::Interaction<'a>>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for SendInteractions<'_> {
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetActorStarterPacks<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_blocks.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetBlocks<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_followers.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetFollowers<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_follows.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetFollows<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetKnownFollowers<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_list.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetList<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetListBlocks<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetListMutes<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_lists.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetLists<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs
··· 28 28 } 29 29 } 30 30 31 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 31 + #[derive( 32 + serde::Serialize, 33 + serde::Deserialize, 34 + Debug, 35 + Clone, 36 + PartialEq, 37 + Eq, 38 + bon::Builder 39 + )] 40 + #[builder(start_fn = new)] 32 41 #[serde(rename_all = "camelCase")] 33 42 pub struct GetListsWithMembership<'a> { 34 43 #[serde(borrow)] 35 44 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 36 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 46 #[serde(borrow)] 47 + #[builder(into)] 38 48 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 39 49 ///(default: 50, min: 1, max: 100) 40 50 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_mutes.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetMutes<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_relationships.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRelationships<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetStarterPack<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetStarterPacks<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetStarterPacksWithMembership<'a> { 11 20 #[serde(borrow)] 12 21 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedFollowsByActor<'a> { 11 20 #[serde(borrow)]
+17 -1
crates/jacquard-api/src/app_bsky/graph/mute_actor.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct MuteActor<'a> { 12 21 #[serde(borrow)] 13 22 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for MuteActor<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct MuteActorList<'a> { 12 21 #[serde(borrow)] 13 22 pub list: jacquard_common::types::string::AtUri<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for MuteActorList<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/mute_thread.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct MuteThread<'a> { 12 21 #[serde(borrow)] 13 22 pub root: jacquard_common::types::string::AtUri<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for MuteThread<'_> {
+12 -1
crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchStarterPacks<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 25, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(borrow)] 28 + #[builder(into)] 18 29 pub q: jacquard_common::CowStr<'a>, 19 30 } 20 31
+17 -1
crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UnmuteActor<'a> { 12 21 #[serde(borrow)] 13 22 pub actor: jacquard_common::types::ident::AtIdentifier<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for UnmuteActor<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UnmuteActorList<'a> { 12 21 #[serde(borrow)] 13 22 pub list: jacquard_common::types::string::AtUri<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for UnmuteActorList<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UnmuteThread<'a> { 12 21 #[serde(borrow)] 13 22 pub root: jacquard_common::types::string::AtUri<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for UnmuteThread<'_> {
+10 -1
crates/jacquard-api/src/app_bsky/labeler/get_services.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetServices<'a> { 11 20 ///(default: false)
+10 -1
crates/jacquard-api/src/app_bsky/notification/get_preferences.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetPreferences {} 11 20 impl jacquard_common::IntoStatic for GetPreferences {
+10 -1
crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetUnreadCount { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListActivitySubscriptions<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/notification/list_notifications.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListNotifications<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+17 -1
crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct PutActivitySubscription<'a> { 12 21 #[serde(borrow)] 13 22 pub activity_subscription: crate::app_bsky::notification::ActivitySubscription<'a>, 14 23 #[serde(borrow)] 15 24 pub subject: jacquard_common::types::string::Did<'a>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 16 32 } 17 33 18 34 impl jacquard_common::IntoStatic for PutActivitySubscription<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/notification/put_preferences.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct PutPreferences<'a> { 12 21 pub priority: bool, 22 + #[serde(flatten)] 23 + #[serde(borrow)] 24 + #[builder(default)] 25 + pub extra_data: ::std::collections::BTreeMap< 26 + ::jacquard_common::smol_str::SmolStr, 27 + ::jacquard_common::types::value::Data<'a>, 28 + >, 13 29 } 14 30 15 31 impl jacquard_common::IntoStatic for PutPreferences<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct PutPreferencesV2<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] ··· 68 77 #[serde(skip_serializing_if = "std::option::Option::is_none")] 69 78 #[serde(borrow)] 70 79 pub verified: std::option::Option<crate::app_bsky::notification::Preference<'a>>, 80 + #[serde(flatten)] 81 + #[serde(borrow)] 82 + #[builder(default)] 83 + pub extra_data: ::std::collections::BTreeMap< 84 + ::jacquard_common::smol_str::SmolStr, 85 + ::jacquard_common::types::value::Data<'a>, 86 + >, 71 87 } 72 88 73 89 impl jacquard_common::IntoStatic for PutPreferencesV2<'_> {
+20 -1
crates/jacquard-api/src/app_bsky/notification/register_push.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RegisterPush<'a> { 12 21 ///Set to true when the actor is age restricted 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 pub age_restricted: std::option::Option<bool>, 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub app_id: jacquard_common::CowStr<'a>, 17 27 #[serde(borrow)] 28 + #[builder(into)] 18 29 pub platform: jacquard_common::CowStr<'a>, 19 30 #[serde(borrow)] 20 31 pub service_did: jacquard_common::types::string::Did<'a>, 21 32 #[serde(borrow)] 33 + #[builder(into)] 22 34 pub token: jacquard_common::CowStr<'a>, 35 + #[serde(flatten)] 36 + #[serde(borrow)] 37 + #[builder(default)] 38 + pub extra_data: ::std::collections::BTreeMap< 39 + ::jacquard_common::smol_str::SmolStr, 40 + ::jacquard_common::types::value::Data<'a>, 41 + >, 23 42 } 24 43 25 44 impl jacquard_common::IntoStatic for RegisterPush<'_> {
+20 -1
crates/jacquard-api/src/app_bsky/notification/unregister_push.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UnregisterPush<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub app_id: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub platform: jacquard_common::CowStr<'a>, 16 27 #[serde(borrow)] 17 28 pub service_did: jacquard_common::types::string::Did<'a>, 18 29 #[serde(borrow)] 30 + #[builder(into)] 19 31 pub token: jacquard_common::CowStr<'a>, 32 + #[serde(flatten)] 33 + #[serde(borrow)] 34 + #[builder(default)] 35 + pub extra_data: ::std::collections::BTreeMap< 36 + ::jacquard_common::smol_str::SmolStr, 37 + ::jacquard_common::types::value::Data<'a>, 38 + >, 20 39 } 21 40 22 41 impl jacquard_common::IntoStatic for UnregisterPush<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/notification/update_seen.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateSeen<'a> { 12 21 pub seen_at: jacquard_common::types::string::Datetime, 22 + #[serde(flatten)] 23 + #[serde(borrow)] 24 + #[builder(default)] 25 + pub extra_data: ::std::collections::BTreeMap< 26 + ::jacquard_common::smol_str::SmolStr, 27 + ::jacquard_common::types::value::Data<'a>, 28 + >, 13 29 } 14 30 15 31 impl jacquard_common::IntoStatic for UpdateSeen<'_> {
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetOnboardingSuggestedStarterPacks { 11 20 ///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetOnboardingSuggestedStarterPacksSkeleton<'a> { 11 20 ///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetPostThreadOtherV2<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetPostThreadV2<'a> { 11 20 ///(default: true) ··· 25 34 ///(default: "oldest") 26 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 36 #[serde(borrow)] 37 + #[builder(into)] 28 38 pub sort: std::option::Option<jacquard_common::CowStr<'a>>, 29 39 } 30 40
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedFeeds { 11 20 ///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedFeedsSkeleton<'a> { 11 20 ///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedStarterPacks { 11 20 ///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedStarterPacksSkeleton<'a> { 11 20 ///(default: 10, min: 1, max: 25)
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedUsers<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub category: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 25, min: 1, max: 50) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestedUsersSkeleton<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub category: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 25, min: 1, max: 50) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSuggestionsSkeleton<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetTaggedSuggestions {} 11 20 impl jacquard_common::IntoStatic for GetTaggedSuggestions {
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetTrends { 11 20 ///(default: 10, min: 1, max: 25)
+20 -1
crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct InitAgeAssurance<'a> { 12 21 ///An ISO 3166-1 alpha-2 code of the user's location. 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub country_code: jacquard_common::CowStr<'a>, 15 25 ///The user's email address to receive assurance instructions. 16 26 #[serde(borrow)] 27 + #[builder(into)] 17 28 pub email: jacquard_common::CowStr<'a>, 18 29 ///The user's preferred language for communication during the assurance process. 19 30 #[serde(borrow)] 31 + #[builder(into)] 20 32 pub language: jacquard_common::CowStr<'a>, 33 + #[serde(flatten)] 34 + #[serde(borrow)] 35 + #[builder(default)] 36 + pub extra_data: ::std::collections::BTreeMap< 37 + ::jacquard_common::smol_str::SmolStr, 38 + ::jacquard_common::types::value::Data<'a>, 39 + >, 21 40 } 22 41 23 42 impl jacquard_common::IntoStatic for InitAgeAssurance<'_> {
+12 -1
crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchActorsSkeleton<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 25, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(borrow)] 28 + #[builder(into)] 18 29 pub q: jacquard_common::CowStr<'a>, 19 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 20 31 pub typeahead: std::option::Option<bool>,
+16 -1
crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchPostsSkeleton<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 13 22 pub author: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>, 14 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub domain: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 32 pub lang: std::option::Option<jacquard_common::types::string::Language>, ··· 26 37 #[serde(borrow)] 27 38 pub mentions: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>, 28 39 #[serde(borrow)] 40 + #[builder(into)] 29 41 pub q: jacquard_common::CowStr<'a>, 30 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 43 #[serde(borrow)] 44 + #[builder(into)] 32 45 pub since: std::option::Option<jacquard_common::CowStr<'a>>, 33 46 ///(default: "latest") 34 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 48 #[serde(borrow)] 49 + #[builder(into)] 36 50 pub sort: std::option::Option<jacquard_common::CowStr<'a>>, 37 51 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 52 #[serde(borrow)] 39 53 pub tag: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 40 54 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 55 #[serde(borrow)] 56 + #[builder(into)] 42 57 pub until: std::option::Option<jacquard_common::CowStr<'a>>, 43 58 #[serde(skip_serializing_if = "std::option::Option::is_none")] 44 59 #[serde(borrow)]
+12 -1
crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchStarterPacksSkeleton<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 25, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(borrow)] 28 + #[builder(into)] 18 29 pub q: jacquard_common::CowStr<'a>, 19 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 20 31 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/video/get_job_status.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetJobStatus<'a> { 11 20 #[serde(borrow)] 21 + #[builder(into)] 12 22 pub job_id: jacquard_common::CowStr<'a>, 13 23 } 14 24
+10 -1
crates/jacquard-api/src/app_bsky/video/upload_video.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct UploadVideo { 11 20 pub body: bytes::Bytes,
+18 -1
crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct AcceptConvo<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for AcceptConvo<'_> {
+20 -1
crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct AddReaction<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub message_id: jacquard_common::CowStr<'a>, 16 27 #[serde(borrow)] 28 + #[builder(into)] 17 29 pub value: jacquard_common::CowStr<'a>, 30 + #[serde(flatten)] 31 + #[serde(borrow)] 32 + #[builder(default)] 33 + pub extra_data: ::std::collections::BTreeMap< 34 + ::jacquard_common::smol_str::SmolStr, 35 + ::jacquard_common::types::value::Data<'a>, 36 + >, 18 37 } 19 38 20 39 impl jacquard_common::IntoStatic for AddReaction<'_> {
+19 -1
crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteMessageForSelf<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub message_id: jacquard_common::CowStr<'a>, 27 + #[serde(flatten)] 28 + #[serde(borrow)] 29 + #[builder(default)] 30 + pub extra_data: ::std::collections::BTreeMap< 31 + ::jacquard_common::smol_str::SmolStr, 32 + ::jacquard_common::types::value::Data<'a>, 33 + >, 16 34 } 17 35 18 36 impl jacquard_common::IntoStatic for DeleteMessageForSelf<'_> {
+11 -1
crates/jacquard-api/src/chat_bsky/convo/get_convo.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetConvo<'a> { 11 20 #[serde(borrow)] 21 + #[builder(into)] 12 22 pub convo_id: jacquard_common::CowStr<'a>, 13 23 } 14 24
+10 -1
crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetConvoAvailability<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetConvoForMembers<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/chat_bsky/convo/get_log.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetLog<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 } 15 25
+12 -1
crates/jacquard-api/src/chat_bsky/convo/get_messages.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetMessages<'a> { 11 20 #[serde(borrow)] 21 + #[builder(into)] 12 22 pub convo_id: jacquard_common::CowStr<'a>, 13 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 27 ///(default: 50, min: 1, max: 100) 17 28 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct LeaveConvo<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for LeaveConvo<'_> {
+13 -1
crates/jacquard-api/src/chat_bsky/convo/list_convos.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListConvos<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub read_state: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 32 #[serde(borrow)] 33 + #[builder(into)] 22 34 pub status: std::option::Option<jacquard_common::CowStr<'a>>, 23 35 } 24 36
+18 -1
crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct MuteConvo<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for MuteConvo<'_> {
+20 -1
crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RemoveReaction<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub message_id: jacquard_common::CowStr<'a>, 16 27 #[serde(borrow)] 28 + #[builder(into)] 17 29 pub value: jacquard_common::CowStr<'a>, 30 + #[serde(flatten)] 31 + #[serde(borrow)] 32 + #[builder(default)] 33 + pub extra_data: ::std::collections::BTreeMap< 34 + ::jacquard_common::smol_str::SmolStr, 35 + ::jacquard_common::types::value::Data<'a>, 36 + >, 18 37 } 19 38 20 39 impl jacquard_common::IntoStatic for RemoveReaction<'_> {
+18 -1
crates/jacquard-api/src/chat_bsky/convo/send_message.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct SendMessage<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 15 25 pub message: crate::chat_bsky::convo::MessageInput<'a>, 26 + #[serde(flatten)] 27 + #[serde(borrow)] 28 + #[builder(default)] 29 + pub extra_data: ::std::collections::BTreeMap< 30 + ::jacquard_common::smol_str::SmolStr, 31 + ::jacquard_common::types::value::Data<'a>, 32 + >, 16 33 } 17 34 18 35 impl jacquard_common::IntoStatic for SendMessage<'_> {
+17 -1
crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs
··· 27 27 } 28 28 29 29 #[jacquard_derive::lexicon] 30 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 30 + #[derive( 31 + serde::Serialize, 32 + serde::Deserialize, 33 + Debug, 34 + Clone, 35 + PartialEq, 36 + Eq, 37 + bon::Builder 38 + )] 31 39 #[serde(rename_all = "camelCase")] 40 + #[builder(start_fn = new)] 32 41 pub struct SendMessageBatch<'a> { 33 42 #[serde(borrow)] 34 43 pub items: Vec<jacquard_common::types::value::Data<'a>>, 44 + #[serde(flatten)] 45 + #[serde(borrow)] 46 + #[builder(default)] 47 + pub extra_data: ::std::collections::BTreeMap< 48 + ::jacquard_common::smol_str::SmolStr, 49 + ::jacquard_common::types::value::Data<'a>, 50 + >, 35 51 } 36 52 37 53 impl jacquard_common::IntoStatic for SendMessageBatch<'_> {
+18 -1
crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UnmuteConvo<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for UnmuteConvo<'_> {
+18 -1
crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateAllRead<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub status: std::option::Option<jacquard_common::CowStr<'a>>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 15 32 } 16 33 17 34 impl jacquard_common::IntoStatic for UpdateAllRead<'_> {
+19 -1
crates/jacquard-api/src/chat_bsky/convo/update_read.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateRead<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub convo_id: jacquard_common::CowStr<'a>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 #[serde(borrow)] 26 + #[builder(into)] 16 27 pub message_id: std::option::Option<jacquard_common::CowStr<'a>>, 28 + #[serde(flatten)] 29 + #[serde(borrow)] 30 + #[builder(default)] 31 + pub extra_data: ::std::collections::BTreeMap< 32 + ::jacquard_common::smol_str::SmolStr, 33 + ::jacquard_common::types::value::Data<'a>, 34 + >, 17 35 } 18 36 19 37 impl jacquard_common::IntoStatic for UpdateRead<'_> {
+10 -1
crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetActorMetadata<'a> { 11 20 #[serde(borrow)]
+12 -1
crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetMessageContext<'a> { 11 20 ///(default: 5) ··· 16 25 pub before: std::option::Option<i64>, 17 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 27 #[serde(borrow)] 28 + #[builder(into)] 19 29 pub convo_id: std::option::Option<jacquard_common::CowStr<'a>>, 20 30 #[serde(borrow)] 31 + #[builder(into)] 21 32 pub message_id: jacquard_common::CowStr<'a>, 22 33 } 23 34
+18 -1
crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateActorAccess<'a> { 12 21 #[serde(borrow)] 13 22 pub actor: jacquard_common::types::string::Did<'a>, 14 23 pub allow_access: bool, 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub r#ref: std::option::Option<jacquard_common::CowStr<'a>>, 28 + #[serde(flatten)] 29 + #[serde(borrow)] 30 + #[builder(default)] 31 + pub extra_data: ::std::collections::BTreeMap< 32 + ::jacquard_common::smol_str::SmolStr, 33 + ::jacquard_common::types::value::Data<'a>, 34 + >, 18 35 } 19 36 20 37 impl jacquard_common::IntoStatic for UpdateActorAccess<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/delete_account.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteAccount<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for DeleteAccount<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DisableAccountInvites<'a> { 12 21 #[serde(borrow)] 13 22 pub account: jacquard_common::types::string::Did<'a>, 14 23 ///Optional reason for disabled invites. 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub note: std::option::Option<jacquard_common::CowStr<'a>>, 28 + #[serde(flatten)] 29 + #[serde(borrow)] 30 + #[builder(default)] 31 + pub extra_data: ::std::collections::BTreeMap< 32 + ::jacquard_common::smol_str::SmolStr, 33 + ::jacquard_common::types::value::Data<'a>, 34 + >, 18 35 } 19 36 20 37 impl jacquard_common::IntoStatic for DisableAccountInvites<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DisableInviteCodes<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] ··· 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 17 26 pub codes: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 27 + #[serde(flatten)] 28 + #[serde(borrow)] 29 + #[builder(default)] 30 + pub extra_data: ::std::collections::BTreeMap< 31 + ::jacquard_common::smol_str::SmolStr, 32 + ::jacquard_common::types::value::Data<'a>, 33 + >, 18 34 } 19 35 20 36 impl jacquard_common::IntoStatic for DisableInviteCodes<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct EnableAccountInvites<'a> { 12 21 #[serde(borrow)] 13 22 pub account: jacquard_common::types::string::Did<'a>, 14 23 ///Optional reason for enabled invites. 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub note: std::option::Option<jacquard_common::CowStr<'a>>, 28 + #[serde(flatten)] 29 + #[serde(borrow)] 30 + #[builder(default)] 31 + pub extra_data: ::std::collections::BTreeMap< 32 + ::jacquard_common::smol_str::SmolStr, 33 + ::jacquard_common::types::value::Data<'a>, 34 + >, 18 35 } 19 36 20 37 impl jacquard_common::IntoStatic for EnableAccountInvites<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/admin/get_account_info.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetAccountInfo<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetAccountInfos<'a> { 11 20 #[serde(borrow)]
+12 -1
crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetInviteCodes<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 100, min: 1, max: 500) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 17 27 ///(default: "recent") 18 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 19 29 #[serde(borrow)] 30 + #[builder(into)] 20 31 pub sort: std::option::Option<jacquard_common::CowStr<'a>>, 21 32 } 22 33
+10 -1
crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSubjectStatus<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+12 -1
crates/jacquard-api/src/com_atproto/admin/search_accounts.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchAccounts<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 #[serde(borrow)] 26 + #[builder(into)] 16 27 pub email: std::option::Option<jacquard_common::CowStr<'a>>, 17 28 ///(default: 50, min: 1, max: 100) 18 29 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+20 -1
crates/jacquard-api/src/com_atproto/admin/send_email.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct SendEmail<'a> { 12 21 ///Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 #[serde(borrow)] 27 + #[builder(into)] 17 28 pub content: jacquard_common::CowStr<'a>, 18 29 #[serde(borrow)] 19 30 pub recipient_did: jacquard_common::types::string::Did<'a>, ··· 21 32 pub sender_did: jacquard_common::types::string::Did<'a>, 22 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 34 #[serde(borrow)] 35 + #[builder(into)] 24 36 pub subject: std::option::Option<jacquard_common::CowStr<'a>>, 37 + #[serde(flatten)] 38 + #[serde(borrow)] 39 + #[builder(default)] 40 + pub extra_data: ::std::collections::BTreeMap< 41 + ::jacquard_common::smol_str::SmolStr, 42 + ::jacquard_common::types::value::Data<'a>, 43 + >, 25 44 } 26 45 27 46 impl jacquard_common::IntoStatic for SendEmail<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/update_account_email.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateAccountEmail<'a> { 12 21 ///The handle or DID of the repo. 13 22 #[serde(borrow)] 14 23 pub account: jacquard_common::types::ident::AtIdentifier<'a>, 15 24 #[serde(borrow)] 25 + #[builder(into)] 16 26 pub email: jacquard_common::CowStr<'a>, 27 + #[serde(flatten)] 28 + #[serde(borrow)] 29 + #[builder(default)] 30 + pub extra_data: ::std::collections::BTreeMap< 31 + ::jacquard_common::smol_str::SmolStr, 32 + ::jacquard_common::types::value::Data<'a>, 33 + >, 17 34 } 18 35 19 36 impl jacquard_common::IntoStatic for UpdateAccountEmail<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateAccountHandle<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 14 23 #[serde(borrow)] 15 24 pub handle: jacquard_common::types::string::Handle<'a>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 16 32 } 17 33 18 34 impl jacquard_common::IntoStatic for UpdateAccountHandle<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/update_account_password.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateAccountPassword<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub password: jacquard_common::CowStr<'a>, 26 + #[serde(flatten)] 27 + #[serde(borrow)] 28 + #[builder(default)] 29 + pub extra_data: ::std::collections::BTreeMap< 30 + ::jacquard_common::smol_str::SmolStr, 31 + ::jacquard_common::types::value::Data<'a>, 32 + >, 16 33 } 17 34 18 35 impl jacquard_common::IntoStatic for UpdateAccountPassword<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateAccountSigningKey<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 14 23 ///Did-key formatted public key 15 24 #[serde(borrow)] 16 25 pub signing_key: jacquard_common::types::string::Did<'a>, 26 + #[serde(flatten)] 27 + #[serde(borrow)] 28 + #[builder(default)] 29 + pub extra_data: ::std::collections::BTreeMap< 30 + ::jacquard_common::smol_str::SmolStr, 31 + ::jacquard_common::types::value::Data<'a>, 32 + >, 17 33 } 18 34 19 35 impl jacquard_common::IntoStatic for UpdateAccountSigningKey<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateSubjectStatus<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] ··· 17 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 27 #[serde(borrow)] 19 28 pub takedown: std::option::Option<crate::com_atproto::admin::StatusAttr<'a>>, 29 + #[serde(flatten)] 30 + #[serde(borrow)] 31 + #[builder(default)] 32 + pub extra_data: ::std::collections::BTreeMap< 33 + ::jacquard_common::smol_str::SmolStr, 34 + ::jacquard_common::types::value::Data<'a>, 35 + >, 20 36 } 21 37 22 38 #[jacquard_derive::open_union]
+17 -1
crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RefreshIdentity<'a> { 12 21 #[serde(borrow)] 13 22 pub identifier: jacquard_common::types::ident::AtIdentifier<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for RefreshIdentity<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/identity/resolve_did.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ResolveDid<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ResolveHandle<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ResolveIdentity<'a> { 11 20 #[serde(borrow)]
+18 -1
crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct SignPlcOperation<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] ··· 21 30 ///A token received through com.atproto.identity.requestPlcOperationSignature 22 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 32 #[serde(borrow)] 33 + #[builder(into)] 24 34 pub token: std::option::Option<jacquard_common::CowStr<'a>>, 25 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 36 #[serde(borrow)] 27 37 pub verification_methods: std::option::Option< 28 38 jacquard_common::types::value::Data<'a>, 39 + >, 40 + #[serde(flatten)] 41 + #[serde(borrow)] 42 + #[builder(default)] 43 + pub extra_data: ::std::collections::BTreeMap< 44 + ::jacquard_common::smol_str::SmolStr, 45 + ::jacquard_common::types::value::Data<'a>, 29 46 >, 30 47 } 31 48
+17 -1
crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct SubmitPlcOperation<'a> { 12 21 #[serde(borrow)] 13 22 pub operation: jacquard_common::types::value::Data<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for SubmitPlcOperation<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/identity/update_handle.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateHandle<'a> { 12 21 ///The new handle. 13 22 #[serde(borrow)] 14 23 pub handle: jacquard_common::types::string::Handle<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 15 31 } 16 32 17 33 impl jacquard_common::IntoStatic for UpdateHandle<'_> {
+11 -1
crates/jacquard-api/src/com_atproto/label/query_labels.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct QueryLabels<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 250) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs
··· 47 47 } 48 48 } 49 49 50 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 50 + #[derive( 51 + serde::Serialize, 52 + serde::Deserialize, 53 + Debug, 54 + Clone, 55 + PartialEq, 56 + Eq, 57 + bon::Builder 58 + )] 59 + #[builder(start_fn = new)] 51 60 #[serde(rename_all = "camelCase")] 52 61 pub struct SubscribeLabels { 53 62 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/com_atproto/moderation/create_report.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateReport<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] ··· 15 24 ///Additional context about the content and violation. 16 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 17 26 #[serde(borrow)] 27 + #[builder(into)] 18 28 pub reason: std::option::Option<jacquard_common::CowStr<'a>>, 19 29 ///Indicates the broad category of violation the report is for. 20 30 #[serde(borrow)] 21 31 pub reason_type: crate::com_atproto::moderation::ReasonType<'a>, 22 32 #[serde(borrow)] 23 33 pub subject: CreateReportRecordSubject<'a>, 34 + #[serde(flatten)] 35 + #[serde(borrow)] 36 + #[builder(default)] 37 + pub extra_data: ::std::collections::BTreeMap< 38 + ::jacquard_common::smol_str::SmolStr, 39 + ::jacquard_common::types::value::Data<'a>, 40 + >, 24 41 } 25 42 26 43 #[jacquard_derive::open_union]
+17 -1
crates/jacquard-api/src/com_atproto/repo/apply_writes.rs
··· 99 99 } 100 100 101 101 #[jacquard_derive::lexicon] 102 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 102 + #[derive( 103 + serde::Serialize, 104 + serde::Deserialize, 105 + Debug, 106 + Clone, 107 + PartialEq, 108 + Eq, 109 + bon::Builder 110 + )] 103 111 #[serde(rename_all = "camelCase")] 112 + #[builder(start_fn = new)] 104 113 pub struct ApplyWrites<'a> { 105 114 ///The handle or DID of the repo (aka, current account). 106 115 #[serde(borrow)] ··· 114 123 pub validate: std::option::Option<bool>, 115 124 #[serde(borrow)] 116 125 pub writes: Vec<jacquard_common::types::value::Data<'a>>, 126 + #[serde(flatten)] 127 + #[serde(borrow)] 128 + #[builder(default)] 129 + pub extra_data: ::std::collections::BTreeMap< 130 + ::jacquard_common::smol_str::SmolStr, 131 + ::jacquard_common::types::value::Data<'a>, 132 + >, 117 133 } 118 134 119 135 impl jacquard_common::IntoStatic for ApplyWrites<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/repo/create_record.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateRecord<'a> { 12 21 ///The NSID of the record collection. 13 22 #[serde(borrow)] ··· 33 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. 34 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 44 pub validate: std::option::Option<bool>, 45 + #[serde(flatten)] 46 + #[serde(borrow)] 47 + #[builder(default)] 48 + pub extra_data: ::std::collections::BTreeMap< 49 + ::jacquard_common::smol_str::SmolStr, 50 + ::jacquard_common::types::value::Data<'a>, 51 + >, 36 52 } 37 53 38 54 impl jacquard_common::IntoStatic for CreateRecord<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/repo/delete_record.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteRecord<'a> { 12 21 ///The NSID of the record collection. 13 22 #[serde(borrow)] ··· 28 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 38 #[serde(borrow)] 30 39 pub swap_record: std::option::Option<jacquard_common::types::string::Cid<'a>>, 40 + #[serde(flatten)] 41 + #[serde(borrow)] 42 + #[builder(default)] 43 + pub extra_data: ::std::collections::BTreeMap< 44 + ::jacquard_common::smol_str::SmolStr, 45 + ::jacquard_common::types::value::Data<'a>, 46 + >, 31 47 } 32 48 33 49 impl jacquard_common::IntoStatic for DeleteRecord<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/repo/describe_repo.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct DescribeRepo<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/repo/get_record.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRecord<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/com_atproto/repo/import_repo.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ImportRepo { 11 20 pub body: bytes::Bytes,
+11 -1
crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListMissingBlobs<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 500, min: 1, max: 1000) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/com_atproto/repo/list_records.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListRecords<'a> { 11 20 #[serde(borrow)] 12 21 pub collection: jacquard_common::types::string::Nsid<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 50, min: 1, max: 100) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+17 -1
crates/jacquard-api/src/com_atproto/repo/put_record.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct PutRecord<'a> { 12 21 ///The NSID of the record collection. 13 22 #[serde(borrow)] ··· 34 43 ///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. 35 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 45 pub validate: std::option::Option<bool>, 46 + #[serde(flatten)] 47 + #[serde(borrow)] 48 + #[builder(default)] 49 + pub extra_data: ::std::collections::BTreeMap< 50 + ::jacquard_common::smol_str::SmolStr, 51 + ::jacquard_common::types::value::Data<'a>, 52 + >, 37 53 } 38 54 39 55 impl jacquard_common::IntoStatic for PutRecord<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/repo/upload_blob.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct UploadBlob { 11 20 pub body: bytes::Bytes,
+19 -1
crates/jacquard-api/src/com_atproto/server/confirm_email.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct ConfirmEmail<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub email: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub token: jacquard_common::CowStr<'a>, 27 + #[serde(flatten)] 28 + #[serde(borrow)] 29 + #[builder(default)] 30 + pub extra_data: ::std::collections::BTreeMap< 31 + ::jacquard_common::smol_str::SmolStr, 32 + ::jacquard_common::types::value::Data<'a>, 33 + >, 16 34 } 17 35 18 36 impl jacquard_common::IntoStatic for ConfirmEmail<'_> {
+23 -1
crates/jacquard-api/src/com_atproto/server/create_account.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateAccount<'a> { 12 21 ///Pre-existing atproto DID, being imported to a new account. 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 15 24 pub did: std::option::Option<jacquard_common::types::string::Did<'a>>, 16 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 17 26 #[serde(borrow)] 27 + #[builder(into)] 18 28 pub email: std::option::Option<jacquard_common::CowStr<'a>>, 19 29 ///Requested handle for the account. 20 30 #[serde(borrow)] 21 31 pub handle: jacquard_common::types::string::Handle<'a>, 22 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 33 #[serde(borrow)] 34 + #[builder(into)] 24 35 pub invite_code: std::option::Option<jacquard_common::CowStr<'a>>, 25 36 ///Initial account password. May need to meet instance-specific password strength requirements. 26 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 38 #[serde(borrow)] 39 + #[builder(into)] 28 40 pub password: std::option::Option<jacquard_common::CowStr<'a>>, 29 41 ///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. 30 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 33 45 ///DID PLC rotation key (aka, recovery key) to be included in PLC creation operation. 34 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 47 #[serde(borrow)] 48 + #[builder(into)] 36 49 pub recovery_key: std::option::Option<jacquard_common::CowStr<'a>>, 37 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 51 #[serde(borrow)] 52 + #[builder(into)] 39 53 pub verification_code: std::option::Option<jacquard_common::CowStr<'a>>, 40 54 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 55 #[serde(borrow)] 56 + #[builder(into)] 42 57 pub verification_phone: std::option::Option<jacquard_common::CowStr<'a>>, 58 + #[serde(flatten)] 59 + #[serde(borrow)] 60 + #[builder(default)] 61 + pub extra_data: ::std::collections::BTreeMap< 62 + ::jacquard_common::smol_str::SmolStr, 63 + ::jacquard_common::types::value::Data<'a>, 64 + >, 43 65 } 44 66 45 67 impl jacquard_common::IntoStatic for CreateAccount<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/server/create_app_password.rs
··· 32 32 } 33 33 34 34 #[jacquard_derive::lexicon] 35 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 35 + #[derive( 36 + serde::Serialize, 37 + serde::Deserialize, 38 + Debug, 39 + Clone, 40 + PartialEq, 41 + Eq, 42 + bon::Builder 43 + )] 36 44 #[serde(rename_all = "camelCase")] 45 + #[builder(start_fn = new)] 37 46 pub struct CreateAppPassword<'a> { 38 47 ///A short name for the App Password, to help distinguish them. 39 48 #[serde(borrow)] 49 + #[builder(into)] 40 50 pub name: jacquard_common::CowStr<'a>, 41 51 ///If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients. 42 52 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 53 pub privileged: std::option::Option<bool>, 54 + #[serde(flatten)] 55 + #[serde(borrow)] 56 + #[builder(default)] 57 + pub extra_data: ::std::collections::BTreeMap< 58 + ::jacquard_common::smol_str::SmolStr, 59 + ::jacquard_common::types::value::Data<'a>, 60 + >, 44 61 } 45 62 46 63 impl jacquard_common::IntoStatic for CreateAppPassword<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/create_invite_code.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateInviteCode<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] 14 23 pub for_account: std::option::Option<jacquard_common::types::string::Did<'a>>, 15 24 pub use_count: i64, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 16 32 } 17 33 18 34 impl jacquard_common::IntoStatic for CreateInviteCode<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs
··· 27 27 } 28 28 29 29 #[jacquard_derive::lexicon] 30 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 30 + #[derive( 31 + serde::Serialize, 32 + serde::Deserialize, 33 + Debug, 34 + Clone, 35 + PartialEq, 36 + Eq, 37 + bon::Builder 38 + )] 31 39 #[serde(rename_all = "camelCase")] 40 + #[builder(start_fn = new)] 32 41 pub struct CreateInviteCodes<'a> { 33 42 pub code_count: i64, 34 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 44 #[serde(borrow)] 36 45 pub for_accounts: std::option::Option<Vec<jacquard_common::types::string::Did<'a>>>, 37 46 pub use_count: i64, 47 + #[serde(flatten)] 48 + #[serde(borrow)] 49 + #[builder(default)] 50 + pub extra_data: ::std::collections::BTreeMap< 51 + ::jacquard_common::smol_str::SmolStr, 52 + ::jacquard_common::types::value::Data<'a>, 53 + >, 38 54 } 39 55 40 56 impl jacquard_common::IntoStatic for CreateInviteCodes<'_> {
+20 -1
crates/jacquard-api/src/com_atproto/server/create_session.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateSession<'a> { 12 21 ///When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 pub allow_takendown: std::option::Option<bool>, 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub auth_factor_token: std::option::Option<jacquard_common::CowStr<'a>>, 18 28 ///Handle or other identifier supported by the server for the authenticating user. 19 29 #[serde(borrow)] 30 + #[builder(into)] 20 31 pub identifier: jacquard_common::CowStr<'a>, 21 32 #[serde(borrow)] 33 + #[builder(into)] 22 34 pub password: jacquard_common::CowStr<'a>, 35 + #[serde(flatten)] 36 + #[serde(borrow)] 37 + #[builder(default)] 38 + pub extra_data: ::std::collections::BTreeMap< 39 + ::jacquard_common::smol_str::SmolStr, 40 + ::jacquard_common::types::value::Data<'a>, 41 + >, 23 42 } 24 43 25 44 impl jacquard_common::IntoStatic for CreateSession<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/deactivate_account.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeactivateAccount<'a> { 12 21 ///A recommendation to server as to how long they should hold onto the deactivated account before deleting. 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 pub delete_after: std::option::Option<jacquard_common::types::string::Datetime>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 15 31 } 16 32 17 33 impl jacquard_common::IntoStatic for DeactivateAccount<'_> {
+19 -1
crates/jacquard-api/src/com_atproto/server/delete_account.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteAccount<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub password: jacquard_common::CowStr<'a>, 16 26 #[serde(borrow)] 27 + #[builder(into)] 17 28 pub token: jacquard_common::CowStr<'a>, 29 + #[serde(flatten)] 30 + #[serde(borrow)] 31 + #[builder(default)] 32 + pub extra_data: ::std::collections::BTreeMap< 33 + ::jacquard_common::smol_str::SmolStr, 34 + ::jacquard_common::types::value::Data<'a>, 35 + >, 18 36 } 19 37 20 38 impl jacquard_common::IntoStatic for DeleteAccount<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetAccountInviteCodes { 11 20 ///(default: true)
+10 -1
crates/jacquard-api/src/com_atproto/server/get_service_auth.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetServiceAuth<'a> { 11 20 #[serde(borrow)]
+18 -1
crates/jacquard-api/src/com_atproto/server/request_password_reset.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RequestPasswordReset<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub email: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for RequestPasswordReset<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct ReserveSigningKey<'a> { 12 21 ///The DID to reserve a key for. 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 15 24 pub did: std::option::Option<jacquard_common::types::string::Did<'a>>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 16 32 } 17 33 18 34 impl jacquard_common::IntoStatic for ReserveSigningKey<'_> {
+19 -1
crates/jacquard-api/src/com_atproto/server/reset_password.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct ResetPassword<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub password: jacquard_common::CowStr<'a>, 14 24 #[serde(borrow)] 25 + #[builder(into)] 15 26 pub token: jacquard_common::CowStr<'a>, 27 + #[serde(flatten)] 28 + #[serde(borrow)] 29 + #[builder(default)] 30 + pub extra_data: ::std::collections::BTreeMap< 31 + ::jacquard_common::smol_str::SmolStr, 32 + ::jacquard_common::types::value::Data<'a>, 33 + >, 16 34 } 17 35 18 36 impl jacquard_common::IntoStatic for ResetPassword<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RevokeAppPassword<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub name: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for RevokeAppPassword<'_> {
+19 -1
crates/jacquard-api/src/com_atproto/server/update_email.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateEmail<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub email: jacquard_common::CowStr<'a>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 pub email_auth_factor: std::option::Option<bool>, 16 26 ///Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed. 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub token: std::option::Option<jacquard_common::CowStr<'a>>, 31 + #[serde(flatten)] 32 + #[serde(borrow)] 33 + #[builder(default)] 34 + pub extra_data: ::std::collections::BTreeMap< 35 + ::jacquard_common::smol_str::SmolStr, 36 + ::jacquard_common::types::value::Data<'a>, 37 + >, 20 38 } 21 39 22 40 impl jacquard_common::IntoStatic for UpdateEmail<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_blob.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetBlob<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_blocks.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetBlocks<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_checkout.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetCheckout<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_head.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetHead<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/com_atproto/sync/get_host_status.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetHostStatus<'a> { 11 20 #[serde(borrow)] 21 + #[builder(into)] 12 22 pub hostname: jacquard_common::CowStr<'a>, 13 23 } 14 24
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetLatestCommit<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_record.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRecord<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_repo.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRepo<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRepoStatus<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_blobs.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListBlobs<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(borrow)] 15 25 pub did: jacquard_common::types::string::Did<'a>,
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_hosts.rs
··· 35 35 } 36 36 } 37 37 38 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 38 + #[derive( 39 + serde::Serialize, 40 + serde::Deserialize, 41 + Debug, 42 + Clone, 43 + PartialEq, 44 + Eq, 45 + bon::Builder 46 + )] 47 + #[builder(start_fn = new)] 39 48 #[serde(rename_all = "camelCase")] 40 49 pub struct ListHosts<'a> { 41 50 #[serde(skip_serializing_if = "std::option::Option::is_none")] 42 51 #[serde(borrow)] 52 + #[builder(into)] 43 53 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 44 54 ///(default: 200, min: 1, max: 1000) 45 55 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_repos.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListRepos<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 500, min: 1, max: 1000) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListReposByCollection<'a> { 11 20 #[serde(borrow)] 12 21 pub collection: jacquard_common::types::string::Nsid<'a>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///(default: 500, min: 1, max: 2000) 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct NotifyOfUpdate<'a> { 12 21 ///Hostname of the current service (usually a PDS) that is notifying of update. 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub hostname: jacquard_common::CowStr<'a>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 15 32 } 16 33 17 34 impl jacquard_common::IntoStatic for NotifyOfUpdate<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/sync/request_crawl.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RequestCrawl<'a> { 12 21 ///Hostname of the current service (eg, PDS) that is requesting to be crawled. 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub hostname: jacquard_common::CowStr<'a>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 15 32 } 16 33 17 34 impl jacquard_common::IntoStatic for RequestCrawl<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs
··· 142 142 } 143 143 } 144 144 145 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 145 + #[derive( 146 + serde::Serialize, 147 + serde::Deserialize, 148 + Debug, 149 + Clone, 150 + PartialEq, 151 + Eq, 152 + bon::Builder 153 + )] 154 + #[builder(start_fn = new)] 146 155 #[serde(rename_all = "camelCase")] 147 156 pub struct SubscribeRepos { 148 157 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct AddReservedHandle<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub handle: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for AddReservedHandle<'_> {
+11 -1
crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct CheckHandleAvailability<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 pub birth_date: std::option::Option<jacquard_common::types::string::Datetime>, 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub email: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 #[serde(borrow)] 17 27 pub handle: jacquard_common::types::string::Handle<'a>,
+11 -1
crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct DereferenceScope<'a> { 11 20 #[serde(borrow)] 21 + #[builder(into)] 12 22 pub scope: jacquard_common::CowStr<'a>, 13 23 } 14 24
+10 -1
crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct FetchLabels { 11 20 ///(default: 50, min: 1, max: 250)
+18 -1
crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RequestPhoneVerification<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub phone_number: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for RequestPhoneVerification<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RevokeAccountCredentials<'a> { 12 21 #[serde(borrow)] 13 22 pub account: jacquard_common::types::ident::AtIdentifier<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for RevokeAccountCredentials<'_> {
+20 -1
crates/jacquard-api/src/tools_ozone/communication/create_template.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct CreateTemplate<'a> { 12 21 ///Content of the template, markdown supported, can contain variable placeholders. 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub content_markdown: jacquard_common::CowStr<'a>, 15 25 ///DID of the user who is creating the template. 16 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 21 31 pub lang: std::option::Option<jacquard_common::types::string::Language>, 22 32 ///Name of the template. 23 33 #[serde(borrow)] 34 + #[builder(into)] 24 35 pub name: jacquard_common::CowStr<'a>, 25 36 ///Subject of the message, used in emails. 26 37 #[serde(borrow)] 38 + #[builder(into)] 27 39 pub subject: jacquard_common::CowStr<'a>, 40 + #[serde(flatten)] 41 + #[serde(borrow)] 42 + #[builder(default)] 43 + pub extra_data: ::std::collections::BTreeMap< 44 + ::jacquard_common::smol_str::SmolStr, 45 + ::jacquard_common::types::value::Data<'a>, 46 + >, 28 47 } 29 48 30 49 impl jacquard_common::IntoStatic for CreateTemplate<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/communication/delete_template.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteTemplate<'a> { 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub id: jacquard_common::CowStr<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 14 31 } 15 32 16 33 impl jacquard_common::IntoStatic for DeleteTemplate<'_> {
+21 -1
crates/jacquard-api/src/tools_ozone/communication/update_template.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateTemplate<'a> { 12 21 ///Content of the template, markdown supported, can contain variable placeholders. 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub content_markdown: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 17 27 pub disabled: std::option::Option<bool>, 18 28 ///ID of the template to be updated. 19 29 #[serde(borrow)] 30 + #[builder(into)] 20 31 pub id: jacquard_common::CowStr<'a>, 21 32 ///Message language. 22 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 24 35 ///Name of the template. 25 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 37 #[serde(borrow)] 38 + #[builder(into)] 27 39 pub name: std::option::Option<jacquard_common::CowStr<'a>>, 28 40 ///Subject of the message, used in emails. 29 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 42 #[serde(borrow)] 43 + #[builder(into)] 31 44 pub subject: std::option::Option<jacquard_common::CowStr<'a>>, 32 45 ///DID of the user who is updating the template. 33 46 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 47 #[serde(borrow)] 35 48 pub updated_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 49 + #[serde(flatten)] 50 + #[serde(borrow)] 51 + #[builder(default)] 52 + pub extra_data: ::std::collections::BTreeMap< 53 + ::jacquard_common::smol_str::SmolStr, 54 + ::jacquard_common::types::value::Data<'a>, 55 + >, 36 56 } 37 57 38 58 impl jacquard_common::IntoStatic for UpdateTemplate<'_> {
+11 -1
crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs
··· 121 121 } 122 122 } 123 123 124 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 124 + #[derive( 125 + serde::Serialize, 126 + serde::Deserialize, 127 + Debug, 128 + Clone, 129 + PartialEq, 130 + Eq, 131 + bon::Builder 132 + )] 133 + #[builder(start_fn = new)] 125 134 #[serde(rename_all = "camelCase")] 126 135 pub struct GetAccountHistory<'a> { 127 136 #[serde(skip_serializing_if = "std::option::Option::is_none")] 128 137 #[serde(borrow)] 138 + #[builder(into)] 129 139 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 130 140 #[serde(borrow)] 131 141 pub did: jacquard_common::types::string::Did<'a>,
+18 -1
crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct EmitEvent<'a> { 12 21 #[serde(borrow)] 13 22 pub created_by: jacquard_common::types::string::Did<'a>, ··· 16 25 ///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. 17 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 27 #[serde(borrow)] 28 + #[builder(into)] 19 29 pub external_id: std::option::Option<jacquard_common::CowStr<'a>>, 20 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 31 #[serde(borrow)] ··· 26 36 #[serde(borrow)] 27 37 pub subject_blob_cids: std::option::Option< 28 38 Vec<jacquard_common::types::string::Cid<'a>>, 39 + >, 40 + #[serde(flatten)] 41 + #[serde(borrow)] 42 + #[builder(default)] 43 + pub extra_data: ::std::collections::BTreeMap< 44 + ::jacquard_common::smol_str::SmolStr, 45 + ::jacquard_common::types::value::Data<'a>, 29 46 >, 30 47 } 31 48
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetAccountTimeline<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_event.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetEvent { 11 20 pub id: i64,
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_record.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRecord<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_records.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRecords<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRepo<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetReporterStats<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetRepos<'a> { 11 20 #[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetSubjects<'a> { 11 20 #[serde(borrow)]
+16 -1
crates/jacquard-api/src/tools_ozone/moderation/query_events.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct QueryEvents<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 16 25 pub added_tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 17 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 27 #[serde(borrow)] 28 + #[builder(into)] 19 29 pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>, 20 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 31 #[serde(borrow)] 32 + #[builder(into)] 22 33 pub batch_id: std::option::Option<jacquard_common::CowStr<'a>>, 23 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 35 #[serde(borrow)] 25 36 pub collections: std::option::Option<Vec<jacquard_common::types::string::Nsid<'a>>>, 26 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 38 #[serde(borrow)] 39 + #[builder(into)] 28 40 pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 29 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 42 pub created_after: std::option::Option<jacquard_common::types::string::Datetime>, ··· 35 47 pub created_by: std::option::Option<jacquard_common::types::string::Did<'a>>, 36 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 49 #[serde(borrow)] 50 + #[builder(into)] 38 51 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 39 52 #[serde(skip_serializing_if = "std::option::Option::is_none")] 40 53 pub has_comment: std::option::Option<bool>, ··· 62 75 ///(default: "desc") 63 76 #[serde(skip_serializing_if = "std::option::Option::is_none")] 64 77 #[serde(borrow)] 78 + #[builder(into)] 65 79 pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>, 66 80 #[serde(skip_serializing_if = "std::option::Option::is_none")] 67 81 #[serde(borrow)] 68 82 pub subject: std::option::Option<jacquard_common::types::string::Uri<'a>>, 69 83 #[serde(skip_serializing_if = "std::option::Option::is_none")] 70 84 #[serde(borrow)] 85 + #[builder(into)] 71 86 pub subject_type: std::option::Option<jacquard_common::CowStr<'a>>, 72 87 #[serde(skip_serializing_if = "std::option::Option::is_none")] 73 88 #[serde(borrow)]
+18 -1
crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct QueryStatuses<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 pub appealed: std::option::Option<bool>, ··· 18 28 pub collections: std::option::Option<Vec<jacquard_common::types::string::Nsid<'a>>>, 19 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 20 30 #[serde(borrow)] 31 + #[builder(into)] 21 32 pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 22 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 34 #[serde(borrow)] 35 + #[builder(into)] 24 36 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 25 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 38 #[serde(borrow)] ··· 76 88 pub queue_index: std::option::Option<i64>, 77 89 #[serde(skip_serializing_if = "std::option::Option::is_none")] 78 90 #[serde(borrow)] 91 + #[builder(into)] 79 92 pub queue_seed: std::option::Option<jacquard_common::CowStr<'a>>, 80 93 #[serde(skip_serializing_if = "std::option::Option::is_none")] 81 94 pub reported_after: std::option::Option<jacquard_common::types::string::Datetime>, ··· 83 96 pub reported_before: std::option::Option<jacquard_common::types::string::Datetime>, 84 97 #[serde(skip_serializing_if = "std::option::Option::is_none")] 85 98 #[serde(borrow)] 99 + #[builder(into)] 86 100 pub review_state: std::option::Option<jacquard_common::CowStr<'a>>, 87 101 #[serde(skip_serializing_if = "std::option::Option::is_none")] 88 102 pub reviewed_after: std::option::Option<jacquard_common::types::string::Datetime>, ··· 91 105 ///(default: "desc") 92 106 #[serde(skip_serializing_if = "std::option::Option::is_none")] 93 107 #[serde(borrow)] 108 + #[builder(into)] 94 109 pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>, 95 110 ///(default: "lastReportedAt") 96 111 #[serde(skip_serializing_if = "std::option::Option::is_none")] 97 112 #[serde(borrow)] 113 + #[builder(into)] 98 114 pub sort_field: std::option::Option<jacquard_common::CowStr<'a>>, 99 115 #[serde(skip_serializing_if = "std::option::Option::is_none")] 100 116 #[serde(borrow)] 101 117 pub subject: std::option::Option<jacquard_common::types::string::Uri<'a>>, 102 118 #[serde(skip_serializing_if = "std::option::Option::is_none")] 103 119 #[serde(borrow)] 120 + #[builder(into)] 104 121 pub subject_type: std::option::Option<jacquard_common::CowStr<'a>>, 105 122 #[serde(skip_serializing_if = "std::option::Option::is_none")] 106 123 #[serde(borrow)]
+13 -1
crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchRepos<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub q: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 32 #[serde(borrow)] 33 + #[builder(into)] 22 34 pub term: std::option::Option<jacquard_common::CowStr<'a>>, 23 35 } 24 36
+19 -1
crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct AddRule<'a> { 12 21 #[serde(borrow)] 13 22 pub action: crate::tools_ozone::safelink::ActionType<'a>, 14 23 ///Optional comment about the decision 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 18 28 ///Author DID. Only respected when using admin auth 19 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 25 35 pub reason: crate::tools_ozone::safelink::ReasonType<'a>, 26 36 ///The URL or domain to apply the rule to 27 37 #[serde(borrow)] 38 + #[builder(into)] 28 39 pub url: jacquard_common::CowStr<'a>, 40 + #[serde(flatten)] 41 + #[serde(borrow)] 42 + #[builder(default)] 43 + pub extra_data: ::std::collections::BTreeMap< 44 + ::jacquard_common::smol_str::SmolStr, 45 + ::jacquard_common::types::value::Data<'a>, 46 + >, 29 47 } 30 48 31 49 impl jacquard_common::IntoStatic for AddRule<'_> {
+20 -1
crates/jacquard-api/src/tools_ozone/safelink/query_events.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct QueryEvents<'a> { 12 21 ///Cursor for pagination 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///Maximum number of results to return 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 19 29 ///Filter by pattern type 20 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 31 #[serde(borrow)] 32 + #[builder(into)] 22 33 pub pattern_type: std::option::Option<jacquard_common::CowStr<'a>>, 23 34 ///Sort direction 24 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 36 #[serde(borrow)] 37 + #[builder(into)] 26 38 pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>, 27 39 ///Filter by specific URLs or domains 28 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 41 #[serde(borrow)] 30 42 pub urls: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 43 + #[serde(flatten)] 44 + #[serde(borrow)] 45 + #[builder(default)] 46 + pub extra_data: ::std::collections::BTreeMap< 47 + ::jacquard_common::smol_str::SmolStr, 48 + ::jacquard_common::types::value::Data<'a>, 49 + >, 31 50 } 32 51 33 52 impl jacquard_common::IntoStatic for QueryEvents<'_> {
+21 -1
crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct QueryRules<'a> { 12 21 ///Filter by action types 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 20 29 ///Cursor for pagination 21 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 31 #[serde(borrow)] 32 + #[builder(into)] 23 33 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 24 34 ///Maximum number of results to return 25 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 27 37 ///Filter by pattern type 28 38 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 39 #[serde(borrow)] 40 + #[builder(into)] 30 41 pub pattern_type: std::option::Option<jacquard_common::CowStr<'a>>, 31 42 ///Filter by reason type 32 43 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 44 #[serde(borrow)] 45 + #[builder(into)] 34 46 pub reason: std::option::Option<jacquard_common::CowStr<'a>>, 35 47 ///Sort direction 36 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 49 #[serde(borrow)] 50 + #[builder(into)] 38 51 pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>, 39 52 ///Filter by specific URLs or domains 40 53 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 54 #[serde(borrow)] 42 55 pub urls: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 56 + #[serde(flatten)] 57 + #[serde(borrow)] 58 + #[builder(default)] 59 + pub extra_data: ::std::collections::BTreeMap< 60 + ::jacquard_common::smol_str::SmolStr, 61 + ::jacquard_common::types::value::Data<'a>, 62 + >, 43 63 } 44 64 45 65 impl jacquard_common::IntoStatic for QueryRules<'_> {
+19 -1
crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RemoveRule<'a> { 12 21 ///Optional comment about why the rule is being removed 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///Optional DID of the user. Only respected when using admin auth. 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 21 31 pub pattern: crate::tools_ozone::safelink::PatternType<'a>, 22 32 ///The URL or domain to remove the rule for 23 33 #[serde(borrow)] 34 + #[builder(into)] 24 35 pub url: jacquard_common::CowStr<'a>, 36 + #[serde(flatten)] 37 + #[serde(borrow)] 38 + #[builder(default)] 39 + pub extra_data: ::std::collections::BTreeMap< 40 + ::jacquard_common::smol_str::SmolStr, 41 + ::jacquard_common::types::value::Data<'a>, 42 + >, 25 43 } 26 44 27 45 impl jacquard_common::IntoStatic for RemoveRule<'_> {
+19 -1
crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateRule<'a> { 12 21 #[serde(borrow)] 13 22 pub action: crate::tools_ozone::safelink::ActionType<'a>, 14 23 ///Optional comment about the update 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub comment: std::option::Option<jacquard_common::CowStr<'a>>, 18 28 ///Optional DID to credit as the creator. Only respected for admin_token authentication. 19 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 25 35 pub reason: crate::tools_ozone::safelink::ReasonType<'a>, 26 36 ///The URL or domain to update the rule for 27 37 #[serde(borrow)] 38 + #[builder(into)] 28 39 pub url: jacquard_common::CowStr<'a>, 40 + #[serde(flatten)] 41 + #[serde(borrow)] 42 + #[builder(default)] 43 + pub extra_data: ::std::collections::BTreeMap< 44 + ::jacquard_common::smol_str::SmolStr, 45 + ::jacquard_common::types::value::Data<'a>, 46 + >, 29 47 } 30 48 31 49 impl jacquard_common::IntoStatic for UpdateRule<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/set/add_values.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct AddValues<'a> { 12 21 ///Name of the set to add values to 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub name: jacquard_common::CowStr<'a>, 15 25 ///Array of string values to add to the set 16 26 #[serde(borrow)] 17 27 pub values: Vec<jacquard_common::CowStr<'a>>, 28 + #[serde(flatten)] 29 + #[serde(borrow)] 30 + #[builder(default)] 31 + pub extra_data: ::std::collections::BTreeMap< 32 + ::jacquard_common::smol_str::SmolStr, 33 + ::jacquard_common::types::value::Data<'a>, 34 + >, 18 35 } 19 36 20 37 impl jacquard_common::IntoStatic for AddValues<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/set/delete_set.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteSet<'a> { 12 21 ///Name of the set to delete 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub name: jacquard_common::CowStr<'a>, 25 + #[serde(flatten)] 26 + #[serde(borrow)] 27 + #[builder(default)] 28 + pub extra_data: ::std::collections::BTreeMap< 29 + ::jacquard_common::smol_str::SmolStr, 30 + ::jacquard_common::types::value::Data<'a>, 31 + >, 15 32 } 16 33 17 34 impl jacquard_common::IntoStatic for DeleteSet<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/set/delete_values.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteValues<'a> { 12 21 ///Name of the set to delete values from 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub name: jacquard_common::CowStr<'a>, 15 25 ///Array of string values to delete from the set 16 26 #[serde(borrow)] 17 27 pub values: Vec<jacquard_common::CowStr<'a>>, 28 + #[serde(flatten)] 29 + #[serde(borrow)] 30 + #[builder(default)] 31 + pub extra_data: ::std::collections::BTreeMap< 32 + ::jacquard_common::smol_str::SmolStr, 33 + ::jacquard_common::types::value::Data<'a>, 34 + >, 18 35 } 19 36 20 37 impl jacquard_common::IntoStatic for DeleteValues<'_> {
+12 -1
crates/jacquard-api/src/tools_ozone/set/get_values.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct GetValues<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 100, min: 1, max: 1000) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(borrow)] 28 + #[builder(into)] 18 29 pub name: jacquard_common::CowStr<'a>, 19 30 } 20 31
+14 -1
crates/jacquard-api/src/tools_ozone/set/query_sets.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct QuerySets<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 26 pub limit: std::option::Option<i64>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub name_prefix: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 ///(default: "name") 21 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 33 #[serde(borrow)] 34 + #[builder(into)] 23 35 pub sort_by: std::option::Option<jacquard_common::CowStr<'a>>, 24 36 ///(default: "asc") 25 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 38 #[serde(borrow)] 39 + #[builder(into)] 27 40 pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>, 28 41 } 29 42
+17 -1
crates/jacquard-api/src/tools_ozone/set/upsert_set.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpsertSet<'a> { 12 21 #[serde(flatten)] 13 22 #[serde(borrow)] 14 23 pub value: crate::tools_ozone::set::Set<'a>, 24 + #[serde(flatten)] 25 + #[serde(borrow)] 26 + #[builder(default)] 27 + pub extra_data: ::std::collections::BTreeMap< 28 + ::jacquard_common::smol_str::SmolStr, 29 + ::jacquard_common::types::value::Data<'a>, 30 + >, 15 31 } 16 32 17 33 impl jacquard_common::IntoStatic for UpsertSet<'_> {
+13 -1
crates/jacquard-api/src/tools_ozone/setting/list_options.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListOptions<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 #[serde(borrow)] ··· 19 29 pub limit: std::option::Option<i64>, 20 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 21 31 #[serde(borrow)] 32 + #[builder(into)] 22 33 pub prefix: std::option::Option<jacquard_common::CowStr<'a>>, 23 34 ///(default: "instance") 24 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 36 #[serde(borrow)] 37 + #[builder(into)] 26 38 pub scope: std::option::Option<jacquard_common::CowStr<'a>>, 27 39 } 28 40
+18 -1
crates/jacquard-api/src/tools_ozone/setting/remove_options.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RemoveOptions<'a> { 12 21 #[serde(borrow)] 13 22 pub keys: Vec<jacquard_common::types::string::Nsid<'a>>, 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub scope: jacquard_common::CowStr<'a>, 26 + #[serde(flatten)] 27 + #[serde(borrow)] 28 + #[builder(default)] 29 + pub extra_data: ::std::collections::BTreeMap< 30 + ::jacquard_common::smol_str::SmolStr, 31 + ::jacquard_common::types::value::Data<'a>, 32 + >, 16 33 } 17 34 18 35 impl jacquard_common::IntoStatic for RemoveOptions<'_> {
+20 -1
crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpsertOption<'a> { 12 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 13 22 #[serde(borrow)] 23 + #[builder(into)] 14 24 pub description: std::option::Option<jacquard_common::CowStr<'a>>, 15 25 #[serde(borrow)] 16 26 pub key: jacquard_common::types::string::Nsid<'a>, 17 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 18 28 #[serde(borrow)] 29 + #[builder(into)] 19 30 pub manager_role: std::option::Option<jacquard_common::CowStr<'a>>, 20 31 #[serde(borrow)] 32 + #[builder(into)] 21 33 pub scope: jacquard_common::CowStr<'a>, 22 34 #[serde(borrow)] 23 35 pub value: jacquard_common::types::value::Data<'a>, 36 + #[serde(flatten)] 37 + #[serde(borrow)] 38 + #[builder(default)] 39 + pub extra_data: ::std::collections::BTreeMap< 40 + ::jacquard_common::smol_str::SmolStr, 41 + ::jacquard_common::types::value::Data<'a>, 42 + >, 24 43 } 25 44 26 45 impl jacquard_common::IntoStatic for UpsertOption<'_> {
+10 -1
crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct FindCorrelation<'a> { 11 20 #[serde(borrow)]
+11 -1
crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct SearchAccounts<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 ///(default: 50, min: 1, max: 100) 15 25 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/tools_ozone/team/add_member.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct AddMember<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub role: jacquard_common::CowStr<'a>, 26 + #[serde(flatten)] 27 + #[serde(borrow)] 28 + #[builder(default)] 29 + pub extra_data: ::std::collections::BTreeMap< 30 + ::jacquard_common::smol_str::SmolStr, 31 + ::jacquard_common::types::value::Data<'a>, 32 + >, 16 33 } 17 34 18 35 impl jacquard_common::IntoStatic for AddMember<'_> {
+17 -1
crates/jacquard-api/src/tools_ozone/team/delete_member.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct DeleteMember<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, 23 + #[serde(flatten)] 24 + #[serde(borrow)] 25 + #[builder(default)] 26 + pub extra_data: ::std::collections::BTreeMap< 27 + ::jacquard_common::smol_str::SmolStr, 28 + ::jacquard_common::types::value::Data<'a>, 29 + >, 14 30 } 15 31 16 32 impl jacquard_common::IntoStatic for DeleteMember<'_> {
+12 -1
crates/jacquard-api/src/tools_ozone/team/list_members.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListMembers<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] 12 21 #[serde(borrow)] 22 + #[builder(into)] 13 23 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 14 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 15 25 pub disabled: std::option::Option<bool>, ··· 18 28 pub limit: std::option::Option<i64>, 19 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 20 30 #[serde(borrow)] 31 + #[builder(into)] 21 32 pub q: std::option::Option<jacquard_common::CowStr<'a>>, 22 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 34 #[serde(borrow)]
+18 -1
crates/jacquard-api/src/tools_ozone/team/update_member.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct UpdateMember<'a> { 12 21 #[serde(borrow)] 13 22 pub did: jacquard_common::types::string::Did<'a>, ··· 15 24 pub disabled: std::option::Option<bool>, 16 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 17 26 #[serde(borrow)] 27 + #[builder(into)] 18 28 pub role: std::option::Option<jacquard_common::CowStr<'a>>, 29 + #[serde(flatten)] 30 + #[serde(borrow)] 31 + #[builder(default)] 32 + pub extra_data: ::std::collections::BTreeMap< 33 + ::jacquard_common::smol_str::SmolStr, 34 + ::jacquard_common::types::value::Data<'a>, 35 + >, 19 36 } 20 37 21 38 impl jacquard_common::IntoStatic for UpdateMember<'_> {
+17 -1
crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs
··· 30 30 } 31 31 32 32 #[jacquard_derive::lexicon] 33 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 33 + #[derive( 34 + serde::Serialize, 35 + serde::Deserialize, 36 + Debug, 37 + Clone, 38 + PartialEq, 39 + Eq, 40 + bon::Builder 41 + )] 34 42 #[serde(rename_all = "camelCase")] 43 + #[builder(start_fn = new)] 35 44 pub struct GrantVerifications<'a> { 36 45 ///Array of verification requests to process 37 46 #[serde(borrow)] 38 47 pub verifications: Vec<jacquard_common::types::value::Data<'a>>, 48 + #[serde(flatten)] 49 + #[serde(borrow)] 50 + #[builder(default)] 51 + pub extra_data: ::std::collections::BTreeMap< 52 + ::jacquard_common::smol_str::SmolStr, 53 + ::jacquard_common::types::value::Data<'a>, 54 + >, 39 55 } 40 56 41 57 impl jacquard_common::IntoStatic for GrantVerifications<'_> {
+12 -1
crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 8 + #[derive( 9 + serde::Serialize, 10 + serde::Deserialize, 11 + Debug, 12 + Clone, 13 + PartialEq, 14 + Eq, 15 + bon::Builder 16 + )] 17 + #[builder(start_fn = new)] 9 18 #[serde(rename_all = "camelCase")] 10 19 pub struct ListVerifications<'a> { 11 20 #[serde(skip_serializing_if = "std::option::Option::is_none")] ··· 14 23 pub created_before: std::option::Option<jacquard_common::types::string::Datetime>, 15 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 16 25 #[serde(borrow)] 26 + #[builder(into)] 17 27 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 18 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 19 29 pub is_revoked: std::option::Option<bool>, ··· 26 36 ///(default: "desc") 27 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 38 #[serde(borrow)] 39 + #[builder(into)] 29 40 pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>, 30 41 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 42 #[serde(borrow)]
+18 -1
crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs
··· 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 8 #[jacquard_derive::lexicon] 9 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 9 + #[derive( 10 + serde::Serialize, 11 + serde::Deserialize, 12 + Debug, 13 + Clone, 14 + PartialEq, 15 + Eq, 16 + bon::Builder 17 + )] 10 18 #[serde(rename_all = "camelCase")] 19 + #[builder(start_fn = new)] 11 20 pub struct RevokeVerifications<'a> { 12 21 ///Reason for revoking the verification. This is optional and can be omitted if not needed. 13 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 14 23 #[serde(borrow)] 24 + #[builder(into)] 15 25 pub revoke_reason: std::option::Option<jacquard_common::CowStr<'a>>, 16 26 ///Array of verification record uris to revoke 17 27 #[serde(borrow)] 18 28 pub uris: Vec<jacquard_common::types::string::AtUri<'a>>, 29 + #[serde(flatten)] 30 + #[serde(borrow)] 31 + #[builder(default)] 32 + pub extra_data: ::std::collections::BTreeMap< 33 + ::jacquard_common::smol_str::SmolStr, 34 + ::jacquard_common::types::value::Data<'a>, 35 + >, 19 36 } 20 37 21 38 impl jacquard_common::IntoStatic for RevokeVerifications<'_> {
+1 -1
crates/jacquard-derive/tests/open_union.rs
··· 24 24 25 25 #[test] 26 26 fn test_open_union_unknown_variant() { 27 - use jacquard_common::types::value::{Data, Object}; 27 + use jacquard_common::types::value::Data; 28 28 29 29 let json = r#"{"$type":"com.example.unknown","data":"something"}"#; 30 30 let union: TestUnion = serde_json::from_str(json).unwrap();
+47 -19
crates/jacquard-lexicon/src/codegen.rs
··· 152 152 let ident = syn::Ident::new(&type_name, proc_macro2::Span::call_site()); 153 153 154 154 // Generate main struct fields 155 - let fields = self.generate_object_fields(nsid, &type_name, obj)?; 155 + let fields = self.generate_object_fields(nsid, &type_name, obj, false)?; 156 156 let doc = self.generate_doc_comment(record.description.as_ref()); 157 157 158 158 // Records always get a lifetime since they have the #[lexicon] attribute ··· 213 213 let type_name = self.def_to_type_name(nsid, def_name); 214 214 let ident = syn::Ident::new(&type_name, proc_macro2::Span::call_site()); 215 215 216 - let fields = self.generate_object_fields(nsid, &type_name, obj)?; 216 + let fields = self.generate_object_fields(nsid, &type_name, obj, false)?; 217 217 let doc = self.generate_doc_comment(obj.description.as_ref()); 218 218 219 219 // Objects always get a lifetime since they have the #[lexicon] attribute ··· 257 257 nsid: &str, 258 258 parent_type_name: &str, 259 259 obj: &LexObject<'static>, 260 + is_builder: bool, 260 261 ) -> Result<TokenStream> { 261 262 let required = obj.required.as_ref().map(|r| r.as_slice()).unwrap_or(&[]); 262 263 ··· 264 265 for (field_name, field_type) in &obj.properties { 265 266 let is_required = required.contains(field_name); 266 267 let field_tokens = 267 - self.generate_field(nsid, parent_type_name, field_name, field_type, is_required)?; 268 + self.generate_field(nsid, parent_type_name, field_name, field_type, is_required, is_builder)?; 268 269 fields.push(field_tokens); 269 270 } 270 271 ··· 279 280 field_name: &str, 280 281 field_type: &LexObjectProperty<'static>, 281 282 is_required: bool, 283 + is_builder: bool, 282 284 ) -> Result<TokenStream> { 283 285 let field_ident = make_ident(&field_name.to_snake_case()); 284 286 ··· 286 288 self.property_to_rust_type(nsid, parent_type_name, field_name, field_type)?; 287 289 let needs_lifetime = self.property_needs_lifetime(field_type); 288 290 291 + // Check if this is a CowStr field for builder(into) attribute 292 + let is_cowstr = matches!(field_type, LexObjectProperty::String(s) if s.format.is_none()); 293 + 289 294 let rust_type = if is_required { 290 295 rust_type 291 296 } else { ··· 316 321 // Add serde(borrow) to all fields with lifetimes 317 322 if needs_lifetime { 318 323 attrs.push(quote! { #[serde(borrow)] }); 324 + } 325 + 326 + // Add builder(into) for CowStr fields to allow String, &str, etc., but only for builder structs 327 + if is_builder && is_cowstr { 328 + attrs.push(quote! { #[builder(into)] }); 319 329 } 320 330 321 331 Ok(quote! { ··· 865 875 let struct_name = format!("{}Message", type_base); 866 876 let struct_ident = syn::Ident::new(&struct_name, proc_macro2::Span::call_site()); 867 877 868 - let fields = self.generate_object_fields("", &struct_name, obj)?; 878 + let fields = self.generate_object_fields("", &struct_name, obj, false)?; 869 879 let doc = self.generate_doc_comment(obj.description.as_ref()); 870 880 871 881 // Subscription message structs always get a lifetime since they have the #[lexicon] attribute ··· 1263 1273 let doc = self.generate_doc_comment(p.description.as_ref()); 1264 1274 let needs_lifetime = self.params_need_lifetime(p); 1265 1275 1266 - let derives = 1267 - quote! { #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] }; 1276 + let derives = quote! { 1277 + #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder)] 1278 + #[builder(start_fn = new)] 1279 + }; 1268 1280 1269 1281 // Generate IntoStatic impl 1270 1282 let field_names: Vec<&str> = p.properties.keys().map(|k| k.as_str()).collect(); ··· 1438 1450 let is_binary_body = body.schema.is_none(); 1439 1451 1440 1452 let fields = if let Some(schema) = &body.schema { 1441 - self.generate_body_fields("", type_base, schema)? 1453 + self.generate_body_fields("", type_base, schema, true)? 1442 1454 } else { 1443 1455 // Binary body: just a bytes field 1444 1456 quote! { ··· 1452 1464 let struct_def = if is_binary_body { 1453 1465 quote! { 1454 1466 #doc 1455 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 1467 + #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder)] 1468 + #[builder(start_fn = new)] 1456 1469 #[serde(rename_all = "camelCase")] 1457 1470 pub struct #ident { 1458 1471 #fields 1459 1472 } 1460 1473 } 1461 1474 } else { 1462 - // Input structs with schemas get a lifetime since they have the #[lexicon] attribute 1463 - // which adds extra_data: BTreeMap<..., Data<'a>> 1475 + // Input structs with schemas: manually add extra_data field with #[builder(default)] 1476 + // for bon compatibility. The #[lexicon] macro will see it exists and skip adding it. 1464 1477 quote! { 1465 1478 #doc 1466 1479 #[jacquard_derive::lexicon] 1467 - #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 1480 + #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder)] 1468 1481 #[serde(rename_all = "camelCase")] 1482 + #[builder(start_fn = new)] 1469 1483 pub struct #ident<'a> { 1470 1484 #fields 1485 + #[serde(flatten)] 1486 + #[serde(borrow)] 1487 + #[builder(default)] 1488 + pub extra_data: ::std::collections::BTreeMap< 1489 + ::jacquard_common::smol_str::SmolStr, 1490 + ::jacquard_common::types::value::Data<'a> 1491 + >, 1471 1492 } 1472 1493 } 1473 1494 }; ··· 1530 1551 let ident = syn::Ident::new(&struct_name, proc_macro2::Span::call_site()); 1531 1552 1532 1553 let fields = if let Some(schema) = &body.schema { 1533 - self.generate_body_fields("", &struct_name, schema)? 1554 + self.generate_body_fields("", &struct_name, schema, false)? 1534 1555 } else { 1535 1556 quote! {} 1536 1557 }; ··· 1593 1614 nsid: &str, 1594 1615 parent_type_name: &str, 1595 1616 schema: &LexXrpcBodySchema<'static>, 1617 + is_builder: bool, 1596 1618 ) -> Result<TokenStream> { 1597 1619 use crate::lexicon::LexXrpcBodySchema; 1598 1620 1599 1621 match schema { 1600 1622 LexXrpcBodySchema::Object(obj) => { 1601 - self.generate_object_fields(nsid, parent_type_name, obj) 1623 + self.generate_object_fields(nsid, parent_type_name, obj, is_builder) 1602 1624 } 1603 1625 LexXrpcBodySchema::Ref(ref_type) => { 1604 1626 let rust_type = self.ref_to_rust_type(&ref_type.r#ref)?; ··· 1631 1653 1632 1654 let field_ident = make_ident(&field_name.to_snake_case()); 1633 1655 1634 - let (rust_type, needs_lifetime) = match field_type { 1635 - LexXrpcParametersProperty::Boolean(_) => (quote! { bool }, false), 1636 - LexXrpcParametersProperty::Integer(_) => (quote! { i64 }, false), 1656 + let (rust_type, needs_lifetime, is_cowstr) = match field_type { 1657 + LexXrpcParametersProperty::Boolean(_) => (quote! { bool }, false, false), 1658 + LexXrpcParametersProperty::Integer(_) => (quote! { i64 }, false, false), 1637 1659 LexXrpcParametersProperty::String(s) => { 1638 - (self.string_to_rust_type(s), self.string_needs_lifetime(s)) 1660 + let is_cowstr = s.format.is_none(); // CowStr for plain strings 1661 + (self.string_to_rust_type(s), self.string_needs_lifetime(s), is_cowstr) 1639 1662 } 1640 1663 LexXrpcParametersProperty::Unknown(_) => { 1641 - (quote! { jacquard_common::types::value::Data<'a> }, true) 1664 + (quote! { jacquard_common::types::value::Data<'a> }, true, false) 1642 1665 } 1643 1666 LexXrpcParametersProperty::Array(arr) => { 1644 1667 let needs_lifetime = match &arr.items { ··· 1657 1680 quote! { jacquard_common::types::value::Data<'a> } 1658 1681 } 1659 1682 }; 1660 - (quote! { Vec<#item_type> }, needs_lifetime) 1683 + (quote! { Vec<#item_type> }, needs_lifetime, false) 1661 1684 } 1662 1685 }; 1663 1686 ··· 1676 1699 // Add serde(borrow) to all fields with lifetimes 1677 1700 if needs_lifetime { 1678 1701 attrs.push(quote! { #[serde(borrow)] }); 1702 + } 1703 + 1704 + // Add builder(into) for CowStr fields to allow String, &str, etc. 1705 + if is_cowstr { 1706 + attrs.push(quote! { #[builder(into)] }); 1679 1707 } 1680 1708 1681 1709 Ok(quote! {
-47
crates/jacquard-lexicon/src/lib.rs
··· 4 4 pub mod fs; 5 5 pub mod lexicon; 6 6 pub mod union_registry; 7 - 8 - // #[lexicon] 9 - // #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 10 - // #[serde(rename_all = "camelCase")] 11 - // pub struct Post<'s> { 12 - // ///Client-declared timestamp when this post was originally created. 13 - // pub created_at: jacquard_common::types::string::Datetime, 14 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 15 - // pub embed: core::option::Option<RecordEmbed<'s>>, 16 - // ///DEPRECATED: replaced by app.bsky.richtext.facet. 17 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 18 - // pub entities: core::option::Option<Vec<Entity<'s>>>, 19 - // ///Annotations of text (mentions, URLs, hashtags, etc) 20 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 21 - // pub facets: core::option::Option<Vec<jacquard_api::app_bsky::richtext::Facet<'s>>>, 22 - // ///Self-label values for this post. Effectively content warnings. 23 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 24 - // pub labels: core::option::Option<RecordLabels<'s>>, 25 - // ///Indicates human language of post primary text content. 26 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 27 - // pub langs: core::option::Option<Vec<jacquard_common::types::string::Language>>, 28 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 29 - // pub reply: core::option::Option<ReplyRef<'s>>, 30 - // ///Additional hashtags, in addition to any included in post text and facets. 31 - // #[serde(skip_serializing_if = "core::option::Option::is_none")] 32 - // pub tags: core::option::Option<Vec<jacquard_common::CowStr<'s>>>, 33 - // ///The primary post content. May be an empty string, if there are embeds. 34 - // #[serde(borrow)] 35 - // pub text: jacquard_common::CowStr<'s>, 36 - // } 37 - 38 - // #[open_union] 39 - // #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 40 - // #[serde(tag = "$type")] 41 - // pub enum RecordEmbed<'s> { 42 - // #[serde(borrow)] 43 - // #[serde(rename = "app.bsky.embed.images")] 44 - // EmbedImages(Box<jacquard_api::app_bsky::embed::Images<'s>>), 45 - // #[serde(rename = "app.bsky.embed.video")] 46 - // EmbedVideo(Box<jacquard_api::app_bsky::embed::Video<'s>>), 47 - // #[serde(rename = "app.bsky.embed.external")] 48 - // EmbedExternal(Box<jacquard_api::app_bsky::embed::External<'s>>), 49 - // #[serde(rename = "app.bsky.embed.record")] 50 - // EmbedRecord(Box<jacquard_api::app_bsky::embed::Record<'s>>), 51 - // #[serde(rename = "app.bsky.embed.recordWithMedia")] 52 - // EmbedRecordWithMedia(Box<jacquard_api::app_bsky::embed::RecordWithMedia<'s>>), 53 - // }
+1
crates/jacquard/Cargo.toml
··· 29 29 serde_ipld_dagcbor = "0.6.4" 30 30 serde_json = "1.0" 31 31 thiserror = "2.0" 32 + tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
+53 -11
crates/jacquard/src/main.rs
··· 1 1 use clap::Parser; 2 - use jacquard_api::com_atproto::repo::create_record::*; 2 + use jacquard::client::{AuthenticatedClient, Session, XrpcClient}; 3 + use jacquard_api::app_bsky::feed::get_timeline::GetTimeline; 4 + use jacquard_api::com_atproto::server::create_session::CreateSession; 5 + use jacquard_common::CowStr; 6 + use miette::IntoDiagnostic; 3 7 4 8 #[derive(Parser, Debug)] 5 - #[command(author = "Orual", version, about)] 6 - /// Application configuration 9 + #[command(author, version, about = "Jacquard - AT Protocol client demo")] 7 10 struct Args { 8 - /// whether to be verbose 9 - #[arg(short = 'v')] 10 - verbose: bool, 11 + /// Username/handle (e.g., alice.bsky.social) 12 + #[arg(short, long)] 13 + username: CowStr<'static>, 11 14 12 - /// an optional name to greet 13 - #[arg()] 14 - name: Option<String>, 15 + /// PDS URL (e.g., https://bsky.social) 16 + #[arg(long, default_value = "https://bsky.social")] 17 + pds: CowStr<'static>, 18 + 19 + /// App password 20 + #[arg(short, long)] 21 + password: CowStr<'static>, 15 22 } 16 23 17 - fn main() { 18 - let client = reqwest::Client::new(); 24 + #[tokio::main] 25 + async fn main() -> miette::Result<()> { 26 + let args = Args::parse(); 27 + 28 + // Create HTTP client 29 + let http = reqwest::Client::new(); 30 + let mut client = AuthenticatedClient::new(http, CowStr::from(args.pds)); 31 + 32 + // Create session 33 + println!("logging in as {}...", args.username); 34 + let create_session = CreateSession::new() 35 + .identifier(args.username) 36 + .password(args.password) 37 + .build(); 38 + 39 + let session_output = client.send(create_session).await?.into_output()?; 40 + let session = Session::from(session_output); 41 + 42 + println!("logged in as {} ({})", session.handle, session.did); 43 + client.set_session(session); 44 + 45 + // Fetch timeline 46 + println!("\nfetching timeline..."); 47 + let timeline_req = GetTimeline::new().limit(5).build(); 48 + 49 + let timeline = client.send(timeline_req).await?.into_output()?; 50 + 51 + println!("\ntimeline ({} posts):", timeline.feed.len()); 52 + for (i, post) in timeline.feed.iter().enumerate() { 53 + println!("\n{}. by {}", i + 1, post.post.author.handle); 54 + println!( 55 + " {}", 56 + serde_json::to_string_pretty(&post.post.record).into_diagnostic()? 57 + ); 58 + } 59 + 60 + Ok(()) 19 61 }