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
···
]
[[package]]
name = "borsh"
version = "1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
···
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
-
"windows-sys 0.52.0",
]
[[package]]
···
"serde_ipld_dagcbor",
"serde_json",
"thiserror 2.0.17",
]
[[package]]
name = "jacquard-api"
version = "0.1.0"
dependencies = [
"bytes",
"jacquard-common",
"jacquard-derive",
···
"errno",
"libc",
"linux-raw-sys",
-
"windows-sys 0.52.0",
]
[[package]]
···
"pin-project-lite",
"slab",
"socket2",
"windows-sys 0.59.0",
]
[[package]]
···
]
[[package]]
+
name = "bon"
+
version = "3.7.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c2529c31017402be841eb45892278a6c21a000c0a17643af326c73a73f83f0fb"
+
dependencies = [
+
"bon-macros",
+
"rustversion",
+
]
+
+
[[package]]
+
name = "bon-macros"
+
version = "3.7.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d82020dadcb845a345591863adb65d74fa8dc5c18a0b6d408470e13b7adc7005"
+
dependencies = [
+
"darling",
+
"ident_case",
+
"prettyplease",
+
"proc-macro2",
+
"quote",
+
"rustversion",
+
"syn 2.0.106",
+
]
+
+
[[package]]
name = "borsh"
version = "1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
···
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
+
"windows-sys 0.60.2",
]
[[package]]
···
"serde_ipld_dagcbor",
"serde_json",
"thiserror 2.0.17",
+
"tokio",
]
[[package]]
name = "jacquard-api"
version = "0.1.0"
dependencies = [
+
"bon",
"bytes",
"jacquard-common",
"jacquard-derive",
···
"errno",
"libc",
"linux-raw-sys",
+
"windows-sys 0.60.2",
]
[[package]]
···
"pin-project-lite",
"slab",
"socket2",
+
"tokio-macros",
"windows-sys 0.59.0",
+
]
+
+
[[package]]
+
name = "tokio-macros"
+
version = "2.5.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn 2.0.106",
]
[[package]]
+1
crates/jacquard-api/Cargo.toml
···
tools_ozone = []
[dependencies]
bytes = { version = "1.10.1", features = ["serde"] }
jacquard-common = { version = "0.1.0", path = "../jacquard-common" }
jacquard-derive = { version = "0.1.0", path = "../jacquard-derive" }
···
tools_ozone = []
[dependencies]
+
bon = "3"
bytes = { version = "1.10.1", features = ["serde"] }
jacquard-common = { version = "0.1.0", path = "../jacquard-common" }
jacquard-derive = { version = "0.1.0", path = "../jacquard-derive" }
+10 -1
crates/jacquard-api/src/app_bsky/actor/get_preferences.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetPreferences {}
impl jacquard_common::IntoStatic for GetPreferences {
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetPreferences {}
impl jacquard_common::IntoStatic for GetPreferences {
+10 -1
crates/jacquard-api/src/app_bsky/actor/get_profile.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetProfile<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetProfile<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/actor/get_profiles.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetProfiles<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetProfiles<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestions<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestions<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+17 -1
crates/jacquard-api/src/app_bsky/actor/put_preferences.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct PutPreferences<'a> {
#[serde(borrow)]
pub preferences: crate::app_bsky::actor::Preferences<'a>,
}
impl jacquard_common::IntoStatic for PutPreferences<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct PutPreferences<'a> {
#[serde(borrow)]
pub preferences: crate::app_bsky::actor::Preferences<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for PutPreferences<'_> {
+13 -1
crates/jacquard-api/src/app_bsky/actor/search_actors.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchActors<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub term: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchActors<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub term: std::option::Option<jacquard_common::CowStr<'a>>,
}
+12 -1
crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchActorsTypeahead<'a> {
///(default: 10, min: 1, max: 100)
···
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub term: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchActorsTypeahead<'a> {
///(default: 10, min: 1, max: 100)
···
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub term: std::option::Option<jacquard_common::CowStr<'a>>,
}
+17 -1
crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateBookmark<'a> {
#[serde(borrow)]
pub cid: jacquard_common::types::string::Cid<'a>,
#[serde(borrow)]
pub uri: jacquard_common::types::string::AtUri<'a>,
}
impl jacquard_common::IntoStatic for CreateBookmark<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateBookmark<'a> {
#[serde(borrow)]
pub cid: jacquard_common::types::string::Cid<'a>,
#[serde(borrow)]
pub uri: jacquard_common::types::string::AtUri<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateBookmark<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteBookmark<'a> {
#[serde(borrow)]
pub uri: jacquard_common::types::string::AtUri<'a>,
}
impl jacquard_common::IntoStatic for DeleteBookmark<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteBookmark<'a> {
#[serde(borrow)]
pub uri: jacquard_common::types::string::AtUri<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteBookmark<'_> {
+11 -1
crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetBookmarks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetBookmarks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetActorFeeds<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetActorFeeds<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetActorLikes<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetActorLikes<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+12 -1
crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetAuthorFeed<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "posts_with_replies")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub filter: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: false)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetAuthorFeed<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "posts_with_replies")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub filter: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: false)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_feed.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetFeed<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub feed: jacquard_common::types::string::AtUri<'a>,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetFeed<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub feed: jacquard_common::types::string::AtUri<'a>,
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetFeedGenerator<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetFeedGenerator<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetFeedGenerators<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetFeedGenerators<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetFeedSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub feed: jacquard_common::types::string::AtUri<'a>,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetFeedSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub feed: jacquard_common::types::string::AtUri<'a>,
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_likes.rs
···
}
}
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetLikes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
}
}
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetLikes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetListFeed<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetListFeed<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetPostThread<'a> {
///(default: 6, min: 0, max: 1000)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetPostThread<'a> {
///(default: 6, min: 0, max: 1000)
+10 -1
crates/jacquard-api/src/app_bsky/feed/get_posts.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetPosts<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetPosts<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_quotes.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetQuotes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetQuotes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRepostedBy<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRepostedBy<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub cid: std::option::Option<jacquard_common::types::string::Cid<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFeeds<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFeeds<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+12 -1
crates/jacquard-api/src/app_bsky/feed/get_timeline.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetTimeline<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub algorithm: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetTimeline<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub algorithm: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+16 -1
crates/jacquard-api/src/app_bsky/feed/search_posts.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchPosts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub author: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub domain: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub lang: std::option::Option<jacquard_common::types::string::Language>,
···
#[serde(borrow)]
pub mentions: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(borrow)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub since: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "latest")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub tag: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub until: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchPosts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub author: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub domain: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub lang: std::option::Option<jacquard_common::types::string::Language>,
···
#[serde(borrow)]
pub mentions: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(borrow)]
+
#[builder(into)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub since: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "latest")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub tag: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub until: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+17 -1
crates/jacquard-api/src/app_bsky/feed/send_interactions.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SendInteractions<'a> {
#[serde(borrow)]
pub interactions: Vec<crate::app_bsky::feed::Interaction<'a>>,
}
impl jacquard_common::IntoStatic for SendInteractions<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct SendInteractions<'a> {
#[serde(borrow)]
pub interactions: Vec<crate::app_bsky::feed::Interaction<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for SendInteractions<'_> {
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetActorStarterPacks<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetActorStarterPacks<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_blocks.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetBlocks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetBlocks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_followers.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetFollowers<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetFollowers<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_follows.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetFollows<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetFollows<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetKnownFollowers<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetKnownFollowers<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_list.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetList<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetList<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetListBlocks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetListBlocks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetListMutes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetListMutes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_lists.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetLists<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetLists<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs
···
}
}
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetListsWithMembership<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
}
}
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetListsWithMembership<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_mutes.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetMutes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetMutes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_relationships.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRelationships<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRelationships<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetStarterPack<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetStarterPack<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetStarterPacks<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetStarterPacks<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetStarterPacksWithMembership<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetStarterPacksWithMembership<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFollowsByActor<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFollowsByActor<'a> {
#[serde(borrow)]
+17 -1
crates/jacquard-api/src/app_bsky/graph/mute_actor.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct MuteActor<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
}
impl jacquard_common::IntoStatic for MuteActor<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct MuteActor<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for MuteActor<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct MuteActorList<'a> {
#[serde(borrow)]
pub list: jacquard_common::types::string::AtUri<'a>,
}
impl jacquard_common::IntoStatic for MuteActorList<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct MuteActorList<'a> {
#[serde(borrow)]
pub list: jacquard_common::types::string::AtUri<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for MuteActorList<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/mute_thread.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct MuteThread<'a> {
#[serde(borrow)]
pub root: jacquard_common::types::string::AtUri<'a>,
}
impl jacquard_common::IntoStatic for MuteThread<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct MuteThread<'a> {
#[serde(borrow)]
pub root: jacquard_common::types::string::AtUri<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for MuteThread<'_> {
+12 -1
crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchStarterPacks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
pub q: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchStarterPacks<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
+
#[builder(into)]
pub q: jacquard_common::CowStr<'a>,
}
+17 -1
crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UnmuteActor<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
}
impl jacquard_common::IntoStatic for UnmuteActor<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UnmuteActor<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::ident::AtIdentifier<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UnmuteActor<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UnmuteActorList<'a> {
#[serde(borrow)]
pub list: jacquard_common::types::string::AtUri<'a>,
}
impl jacquard_common::IntoStatic for UnmuteActorList<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UnmuteActorList<'a> {
#[serde(borrow)]
pub list: jacquard_common::types::string::AtUri<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UnmuteActorList<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UnmuteThread<'a> {
#[serde(borrow)]
pub root: jacquard_common::types::string::AtUri<'a>,
}
impl jacquard_common::IntoStatic for UnmuteThread<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UnmuteThread<'a> {
#[serde(borrow)]
pub root: jacquard_common::types::string::AtUri<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UnmuteThread<'_> {
+10 -1
crates/jacquard-api/src/app_bsky/labeler/get_services.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetServices<'a> {
///(default: false)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetServices<'a> {
///(default: false)
+10 -1
crates/jacquard-api/src/app_bsky/notification/get_preferences.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetPreferences {}
impl jacquard_common::IntoStatic for GetPreferences {
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetPreferences {}
impl jacquard_common::IntoStatic for GetPreferences {
+10 -1
crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetUnreadCount {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetUnreadCount {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListActivitySubscriptions<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListActivitySubscriptions<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/notification/list_notifications.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListNotifications<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListNotifications<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+17 -1
crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct PutActivitySubscription<'a> {
#[serde(borrow)]
pub activity_subscription: crate::app_bsky::notification::ActivitySubscription<'a>,
#[serde(borrow)]
pub subject: jacquard_common::types::string::Did<'a>,
}
impl jacquard_common::IntoStatic for PutActivitySubscription<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct PutActivitySubscription<'a> {
#[serde(borrow)]
pub activity_subscription: crate::app_bsky::notification::ActivitySubscription<'a>,
#[serde(borrow)]
pub subject: jacquard_common::types::string::Did<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for PutActivitySubscription<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/notification/put_preferences.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct PutPreferences<'a> {
pub priority: bool,
}
impl jacquard_common::IntoStatic for PutPreferences<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct PutPreferences<'a> {
pub priority: bool,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for PutPreferences<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct PutPreferencesV2<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub verified: std::option::Option<crate::app_bsky::notification::Preference<'a>>,
}
impl jacquard_common::IntoStatic for PutPreferencesV2<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct PutPreferencesV2<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub verified: std::option::Option<crate::app_bsky::notification::Preference<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for PutPreferencesV2<'_> {
+20 -1
crates/jacquard-api/src/app_bsky/notification/register_push.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RegisterPush<'a> {
///Set to true when the actor is age restricted
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub age_restricted: std::option::Option<bool>,
#[serde(borrow)]
pub app_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub platform: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub service_did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub token: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RegisterPush<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RegisterPush<'a> {
///Set to true when the actor is age restricted
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub age_restricted: std::option::Option<bool>,
#[serde(borrow)]
+
#[builder(into)]
pub app_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub platform: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub service_did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub token: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RegisterPush<'_> {
+20 -1
crates/jacquard-api/src/app_bsky/notification/unregister_push.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UnregisterPush<'a> {
#[serde(borrow)]
pub app_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub platform: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub service_did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub token: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for UnregisterPush<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UnregisterPush<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub app_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub platform: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub service_did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub token: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UnregisterPush<'_> {
+17 -1
crates/jacquard-api/src/app_bsky/notification/update_seen.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateSeen<'a> {
pub seen_at: jacquard_common::types::string::Datetime,
}
impl jacquard_common::IntoStatic for UpdateSeen<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateSeen<'a> {
pub seen_at: jacquard_common::types::string::Datetime,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateSeen<'_> {
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetOnboardingSuggestedStarterPacks {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetOnboardingSuggestedStarterPacks {
///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetOnboardingSuggestedStarterPacksSkeleton<'a> {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetOnboardingSuggestedStarterPacksSkeleton<'a> {
///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetPostThreadOtherV2<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetPostThreadOtherV2<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetPostThreadV2<'a> {
///(default: true)
···
///(default: "oldest")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetPostThreadV2<'a> {
///(default: true)
···
///(default: "oldest")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
}
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFeeds {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFeeds {
///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFeedsSkeleton<'a> {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedFeedsSkeleton<'a> {
///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedStarterPacks {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedStarterPacks {
///(default: 10, min: 1, max: 25)
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedStarterPacksSkeleton<'a> {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedStarterPacksSkeleton<'a> {
///(default: 10, min: 1, max: 25)
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedUsers<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub category: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 50)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedUsers<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub category: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 50)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedUsersSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub category: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 50)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestedUsersSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub category: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 50)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestionsSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSuggestionsSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetTaggedSuggestions {}
impl jacquard_common::IntoStatic for GetTaggedSuggestions {
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetTaggedSuggestions {}
impl jacquard_common::IntoStatic for GetTaggedSuggestions {
+10 -1
crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetTrends {
///(default: 10, min: 1, max: 25)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetTrends {
///(default: 10, min: 1, max: 25)
+20 -1
crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct InitAgeAssurance<'a> {
///An ISO 3166-1 alpha-2 code of the user's location.
#[serde(borrow)]
pub country_code: jacquard_common::CowStr<'a>,
///The user's email address to receive assurance instructions.
#[serde(borrow)]
pub email: jacquard_common::CowStr<'a>,
///The user's preferred language for communication during the assurance process.
#[serde(borrow)]
pub language: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for InitAgeAssurance<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct InitAgeAssurance<'a> {
///An ISO 3166-1 alpha-2 code of the user's location.
#[serde(borrow)]
+
#[builder(into)]
pub country_code: jacquard_common::CowStr<'a>,
///The user's email address to receive assurance instructions.
#[serde(borrow)]
+
#[builder(into)]
pub email: jacquard_common::CowStr<'a>,
///The user's preferred language for communication during the assurance process.
#[serde(borrow)]
+
#[builder(into)]
pub language: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for InitAgeAssurance<'_> {
+12 -1
crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchActorsSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub typeahead: std::option::Option<bool>,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchActorsSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
+
#[builder(into)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub typeahead: std::option::Option<bool>,
+16 -1
crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchPostsSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub author: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub domain: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub lang: std::option::Option<jacquard_common::types::string::Language>,
···
#[serde(borrow)]
pub mentions: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(borrow)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub since: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "latest")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub tag: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub until: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchPostsSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub author: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub domain: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub lang: std::option::Option<jacquard_common::types::string::Language>,
···
#[serde(borrow)]
pub mentions: std::option::Option<jacquard_common::types::ident::AtIdentifier<'a>>,
#[serde(borrow)]
+
#[builder(into)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub since: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "latest")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub tag: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub until: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+12 -1
crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchStarterPacksSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchStarterPacksSkeleton<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 25, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
+
#[builder(into)]
pub q: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/app_bsky/video/get_job_status.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetJobStatus<'a> {
#[serde(borrow)]
pub job_id: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetJobStatus<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub job_id: jacquard_common::CowStr<'a>,
}
+10 -1
crates/jacquard-api/src/app_bsky/video/upload_video.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UploadVideo {
pub body: bytes::Bytes,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct UploadVideo {
pub body: bytes::Bytes,
+18 -1
crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct AcceptConvo<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for AcceptConvo<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct AcceptConvo<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for AcceptConvo<'_> {
+20 -1
crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct AddReaction<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub message_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub value: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for AddReaction<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct AddReaction<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub message_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub value: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for AddReaction<'_> {
+19 -1
crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteMessageForSelf<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub message_id: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for DeleteMessageForSelf<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteMessageForSelf<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub message_id: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteMessageForSelf<'_> {
+11 -1
crates/jacquard-api/src/chat_bsky/convo/get_convo.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetConvo<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetConvo<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
}
+10 -1
crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetConvoAvailability<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetConvoAvailability<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetConvoForMembers<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetConvoForMembers<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/chat_bsky/convo/get_log.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetLog<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetLog<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
}
+12 -1
crates/jacquard-api/src/chat_bsky/convo/get_messages.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetMessages<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetMessages<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct LeaveConvo<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for LeaveConvo<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct LeaveConvo<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for LeaveConvo<'_> {
+13 -1
crates/jacquard-api/src/chat_bsky/convo/list_convos.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListConvos<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub read_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub status: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListConvos<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub read_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub status: std::option::Option<jacquard_common::CowStr<'a>>,
}
+18 -1
crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct MuteConvo<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for MuteConvo<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct MuteConvo<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for MuteConvo<'_> {
+20 -1
crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RemoveReaction<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub message_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub value: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RemoveReaction<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RemoveReaction<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub message_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub value: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RemoveReaction<'_> {
+18 -1
crates/jacquard-api/src/chat_bsky/convo/send_message.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SendMessage<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub message: crate::chat_bsky::convo::MessageInput<'a>,
}
impl jacquard_common::IntoStatic for SendMessage<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct SendMessage<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub message: crate::chat_bsky::convo::MessageInput<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for SendMessage<'_> {
+17 -1
crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs
···
}
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SendMessageBatch<'a> {
#[serde(borrow)]
pub items: Vec<jacquard_common::types::value::Data<'a>>,
}
impl jacquard_common::IntoStatic for SendMessageBatch<'_> {
···
}
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct SendMessageBatch<'a> {
#[serde(borrow)]
pub items: Vec<jacquard_common::types::value::Data<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for SendMessageBatch<'_> {
+18 -1
crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UnmuteConvo<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for UnmuteConvo<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UnmuteConvo<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UnmuteConvo<'_> {
+18 -1
crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateAllRead<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub status: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for UpdateAllRead<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateAllRead<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub status: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateAllRead<'_> {
+19 -1
crates/jacquard-api/src/chat_bsky/convo/update_read.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateRead<'a> {
#[serde(borrow)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub message_id: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for UpdateRead<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateRead<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub message_id: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateRead<'_> {
+10 -1
crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetActorMetadata<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetActorMetadata<'a> {
#[serde(borrow)]
+12 -1
crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetMessageContext<'a> {
///(default: 5)
···
pub before: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub convo_id: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub message_id: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetMessageContext<'a> {
///(default: 5)
···
pub before: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub convo_id: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
+
#[builder(into)]
pub message_id: jacquard_common::CowStr<'a>,
}
+18 -1
crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateActorAccess<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::string::Did<'a>,
pub allow_access: bool,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub r#ref: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for UpdateActorAccess<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateActorAccess<'a> {
#[serde(borrow)]
pub actor: jacquard_common::types::string::Did<'a>,
pub allow_access: bool,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub r#ref: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateActorAccess<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/delete_account.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteAccount<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
}
impl jacquard_common::IntoStatic for DeleteAccount<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteAccount<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteAccount<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DisableAccountInvites<'a> {
#[serde(borrow)]
pub account: jacquard_common::types::string::Did<'a>,
///Optional reason for disabled invites.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub note: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for DisableAccountInvites<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DisableAccountInvites<'a> {
#[serde(borrow)]
pub account: jacquard_common::types::string::Did<'a>,
///Optional reason for disabled invites.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub note: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DisableAccountInvites<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DisableInviteCodes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub codes: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
}
impl jacquard_common::IntoStatic for DisableInviteCodes<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DisableInviteCodes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub codes: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DisableInviteCodes<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct EnableAccountInvites<'a> {
#[serde(borrow)]
pub account: jacquard_common::types::string::Did<'a>,
///Optional reason for enabled invites.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub note: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for EnableAccountInvites<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct EnableAccountInvites<'a> {
#[serde(borrow)]
pub account: jacquard_common::types::string::Did<'a>,
///Optional reason for enabled invites.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub note: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for EnableAccountInvites<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/admin/get_account_info.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountInfo<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountInfo<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountInfos<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountInfos<'a> {
#[serde(borrow)]
+12 -1
crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetInviteCodes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 100, min: 1, max: 500)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///(default: "recent")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetInviteCodes<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 100, min: 1, max: 500)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///(default: "recent")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort: std::option::Option<jacquard_common::CowStr<'a>>,
}
+10 -1
crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSubjectStatus<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSubjectStatus<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+12 -1
crates/jacquard-api/src/com_atproto/admin/search_accounts.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchAccounts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub email: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchAccounts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub email: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+20 -1
crates/jacquard-api/src/com_atproto/admin/send_email.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SendEmail<'a> {
///Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub content: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub recipient_did: jacquard_common::types::string::Did<'a>,
···
pub sender_did: jacquard_common::types::string::Did<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for SendEmail<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct SendEmail<'a> {
///Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
+
#[builder(into)]
pub content: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub recipient_did: jacquard_common::types::string::Did<'a>,
···
pub sender_did: jacquard_common::types::string::Did<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub subject: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for SendEmail<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/update_account_email.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateAccountEmail<'a> {
///The handle or DID of the repo.
#[serde(borrow)]
pub account: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(borrow)]
pub email: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for UpdateAccountEmail<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateAccountEmail<'a> {
///The handle or DID of the repo.
#[serde(borrow)]
pub account: jacquard_common::types::ident::AtIdentifier<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub email: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateAccountEmail<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateAccountHandle<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
}
impl jacquard_common::IntoStatic for UpdateAccountHandle<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateAccountHandle<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateAccountHandle<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/admin/update_account_password.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateAccountPassword<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub password: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for UpdateAccountPassword<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateAccountPassword<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub password: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateAccountPassword<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateAccountSigningKey<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
///Did-key formatted public key
#[serde(borrow)]
pub signing_key: jacquard_common::types::string::Did<'a>,
}
impl jacquard_common::IntoStatic for UpdateAccountSigningKey<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateAccountSigningKey<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
///Did-key formatted public key
#[serde(borrow)]
pub signing_key: jacquard_common::types::string::Did<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateAccountSigningKey<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateSubjectStatus<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub takedown: std::option::Option<crate::com_atproto::admin::StatusAttr<'a>>,
}
#[jacquard_derive::open_union]
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateSubjectStatus<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub takedown: std::option::Option<crate::com_atproto::admin::StatusAttr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
#[jacquard_derive::open_union]
+17 -1
crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RefreshIdentity<'a> {
#[serde(borrow)]
pub identifier: jacquard_common::types::ident::AtIdentifier<'a>,
}
impl jacquard_common::IntoStatic for RefreshIdentity<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RefreshIdentity<'a> {
#[serde(borrow)]
pub identifier: jacquard_common::types::ident::AtIdentifier<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RefreshIdentity<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/identity/resolve_did.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ResolveDid<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ResolveDid<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ResolveHandle<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ResolveHandle<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ResolveIdentity<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ResolveIdentity<'a> {
#[serde(borrow)]
+18 -1
crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SignPlcOperation<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
///A token received through com.atproto.identity.requestPlcOperationSignature
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub token: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub verification_methods: std::option::Option<
jacquard_common::types::value::Data<'a>,
>,
}
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct SignPlcOperation<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
///A token received through com.atproto.identity.requestPlcOperationSignature
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub token: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub verification_methods: std::option::Option<
jacquard_common::types::value::Data<'a>,
+
>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
>,
}
+17 -1
crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SubmitPlcOperation<'a> {
#[serde(borrow)]
pub operation: jacquard_common::types::value::Data<'a>,
}
impl jacquard_common::IntoStatic for SubmitPlcOperation<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct SubmitPlcOperation<'a> {
#[serde(borrow)]
pub operation: jacquard_common::types::value::Data<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for SubmitPlcOperation<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/identity/update_handle.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateHandle<'a> {
///The new handle.
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
}
impl jacquard_common::IntoStatic for UpdateHandle<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateHandle<'a> {
///The new handle.
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateHandle<'_> {
+11 -1
crates/jacquard-api/src/com_atproto/label/query_labels.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct QueryLabels<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 250)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct QueryLabels<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 250)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs
···
}
}
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SubscribeLabels {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
}
}
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SubscribeLabels {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/com_atproto/moderation/create_report.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateReport<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
///Additional context about the content and violation.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub reason: std::option::Option<jacquard_common::CowStr<'a>>,
///Indicates the broad category of violation the report is for.
#[serde(borrow)]
pub reason_type: crate::com_atproto::moderation::ReasonType<'a>,
#[serde(borrow)]
pub subject: CreateReportRecordSubject<'a>,
}
#[jacquard_derive::open_union]
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateReport<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
///Additional context about the content and violation.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub reason: std::option::Option<jacquard_common::CowStr<'a>>,
///Indicates the broad category of violation the report is for.
#[serde(borrow)]
pub reason_type: crate::com_atproto::moderation::ReasonType<'a>,
#[serde(borrow)]
pub subject: CreateReportRecordSubject<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
#[jacquard_derive::open_union]
+17 -1
crates/jacquard-api/src/com_atproto/repo/apply_writes.rs
···
}
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ApplyWrites<'a> {
///The handle or DID of the repo (aka, current account).
#[serde(borrow)]
···
pub validate: std::option::Option<bool>,
#[serde(borrow)]
pub writes: Vec<jacquard_common::types::value::Data<'a>>,
}
impl jacquard_common::IntoStatic for ApplyWrites<'_> {
···
}
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct ApplyWrites<'a> {
///The handle or DID of the repo (aka, current account).
#[serde(borrow)]
···
pub validate: std::option::Option<bool>,
#[serde(borrow)]
pub writes: Vec<jacquard_common::types::value::Data<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for ApplyWrites<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/repo/create_record.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateRecord<'a> {
///The NSID of the record collection.
#[serde(borrow)]
···
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub validate: std::option::Option<bool>,
}
impl jacquard_common::IntoStatic for CreateRecord<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateRecord<'a> {
///The NSID of the record collection.
#[serde(borrow)]
···
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub validate: std::option::Option<bool>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateRecord<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/repo/delete_record.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteRecord<'a> {
///The NSID of the record collection.
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub swap_record: std::option::Option<jacquard_common::types::string::Cid<'a>>,
}
impl jacquard_common::IntoStatic for DeleteRecord<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteRecord<'a> {
///The NSID of the record collection.
#[serde(borrow)]
···
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub swap_record: std::option::Option<jacquard_common::types::string::Cid<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteRecord<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/repo/describe_repo.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DescribeRepo<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct DescribeRepo<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/repo/get_record.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRecord<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRecord<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/com_atproto/repo/import_repo.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ImportRepo {
pub body: bytes::Bytes,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ImportRepo {
pub body: bytes::Bytes,
+11 -1
crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListMissingBlobs<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 500, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListMissingBlobs<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 500, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/com_atproto/repo/list_records.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListRecords<'a> {
#[serde(borrow)]
pub collection: jacquard_common::types::string::Nsid<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListRecords<'a> {
#[serde(borrow)]
pub collection: jacquard_common::types::string::Nsid<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+17 -1
crates/jacquard-api/src/com_atproto/repo/put_record.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct PutRecord<'a> {
///The NSID of the record collection.
#[serde(borrow)]
···
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub validate: std::option::Option<bool>,
}
impl jacquard_common::IntoStatic for PutRecord<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct PutRecord<'a> {
///The NSID of the record collection.
#[serde(borrow)]
···
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub validate: std::option::Option<bool>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for PutRecord<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/repo/upload_blob.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UploadBlob {
pub body: bytes::Bytes,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct UploadBlob {
pub body: bytes::Bytes,
+19 -1
crates/jacquard-api/src/com_atproto/server/confirm_email.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ConfirmEmail<'a> {
#[serde(borrow)]
pub email: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub token: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for ConfirmEmail<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct ConfirmEmail<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub email: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub token: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for ConfirmEmail<'_> {
+23 -1
crates/jacquard-api/src/com_atproto/server/create_account.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateAccount<'a> {
///Pre-existing atproto DID, being imported to a new account.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub did: std::option::Option<jacquard_common::types::string::Did<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub email: std::option::Option<jacquard_common::CowStr<'a>>,
///Requested handle for the account.
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub invite_code: std::option::Option<jacquard_common::CowStr<'a>>,
///Initial account password. May need to meet instance-specific password strength requirements.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub password: std::option::Option<jacquard_common::CowStr<'a>>,
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub recovery_key: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub verification_code: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub verification_phone: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for CreateAccount<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateAccount<'a> {
///Pre-existing atproto DID, being imported to a new account.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub did: std::option::Option<jacquard_common::types::string::Did<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub email: std::option::Option<jacquard_common::CowStr<'a>>,
///Requested handle for the account.
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub invite_code: std::option::Option<jacquard_common::CowStr<'a>>,
///Initial account password. May need to meet instance-specific password strength requirements.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub password: std::option::Option<jacquard_common::CowStr<'a>>,
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub recovery_key: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub verification_code: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub verification_phone: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateAccount<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/server/create_app_password.rs
···
}
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateAppPassword<'a> {
///A short name for the App Password, to help distinguish them.
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
///If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub privileged: std::option::Option<bool>,
}
impl jacquard_common::IntoStatic for CreateAppPassword<'_> {
···
}
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateAppPassword<'a> {
///A short name for the App Password, to help distinguish them.
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
///If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub privileged: std::option::Option<bool>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateAppPassword<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/create_invite_code.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateInviteCode<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub for_account: std::option::Option<jacquard_common::types::string::Did<'a>>,
pub use_count: i64,
}
impl jacquard_common::IntoStatic for CreateInviteCode<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateInviteCode<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub for_account: std::option::Option<jacquard_common::types::string::Did<'a>>,
pub use_count: i64,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateInviteCode<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs
···
}
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateInviteCodes<'a> {
pub code_count: i64,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub for_accounts: std::option::Option<Vec<jacquard_common::types::string::Did<'a>>>,
pub use_count: i64,
}
impl jacquard_common::IntoStatic for CreateInviteCodes<'_> {
···
}
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateInviteCodes<'a> {
pub code_count: i64,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub for_accounts: std::option::Option<Vec<jacquard_common::types::string::Did<'a>>>,
pub use_count: i64,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateInviteCodes<'_> {
+20 -1
crates/jacquard-api/src/com_atproto/server/create_session.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateSession<'a> {
///When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub allow_takendown: std::option::Option<bool>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub auth_factor_token: std::option::Option<jacquard_common::CowStr<'a>>,
///Handle or other identifier supported by the server for the authenticating user.
#[serde(borrow)]
pub identifier: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub password: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for CreateSession<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateSession<'a> {
///When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub allow_takendown: std::option::Option<bool>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub auth_factor_token: std::option::Option<jacquard_common::CowStr<'a>>,
///Handle or other identifier supported by the server for the authenticating user.
#[serde(borrow)]
+
#[builder(into)]
pub identifier: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub password: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateSession<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/deactivate_account.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeactivateAccount<'a> {
///A recommendation to server as to how long they should hold onto the deactivated account before deleting.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub delete_after: std::option::Option<jacquard_common::types::string::Datetime>,
}
impl jacquard_common::IntoStatic for DeactivateAccount<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeactivateAccount<'a> {
///A recommendation to server as to how long they should hold onto the deactivated account before deleting.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub delete_after: std::option::Option<jacquard_common::types::string::Datetime>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeactivateAccount<'_> {
+19 -1
crates/jacquard-api/src/com_atproto/server/delete_account.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteAccount<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub password: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub token: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for DeleteAccount<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteAccount<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub password: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub token: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteAccount<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountInviteCodes {
///(default: true)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountInviteCodes {
///(default: true)
+10 -1
crates/jacquard-api/src/com_atproto/server/get_service_auth.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetServiceAuth<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetServiceAuth<'a> {
#[serde(borrow)]
+18 -1
crates/jacquard-api/src/com_atproto/server/request_password_reset.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RequestPasswordReset<'a> {
#[serde(borrow)]
pub email: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RequestPasswordReset<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RequestPasswordReset<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub email: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RequestPasswordReset<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ReserveSigningKey<'a> {
///The DID to reserve a key for.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub did: std::option::Option<jacquard_common::types::string::Did<'a>>,
}
impl jacquard_common::IntoStatic for ReserveSigningKey<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct ReserveSigningKey<'a> {
///The DID to reserve a key for.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub did: std::option::Option<jacquard_common::types::string::Did<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for ReserveSigningKey<'_> {
+19 -1
crates/jacquard-api/src/com_atproto/server/reset_password.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ResetPassword<'a> {
#[serde(borrow)]
pub password: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub token: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for ResetPassword<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct ResetPassword<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub password: jacquard_common::CowStr<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub token: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for ResetPassword<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RevokeAppPassword<'a> {
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RevokeAppPassword<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RevokeAppPassword<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RevokeAppPassword<'_> {
+19 -1
crates/jacquard-api/src/com_atproto/server/update_email.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateEmail<'a> {
#[serde(borrow)]
pub email: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub email_auth_factor: std::option::Option<bool>,
///Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub token: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for UpdateEmail<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateEmail<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub email: jacquard_common::CowStr<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub email_auth_factor: std::option::Option<bool>,
///Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub token: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateEmail<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_blob.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetBlob<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetBlob<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_blocks.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetBlocks<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetBlocks<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_checkout.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetCheckout<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetCheckout<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_head.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetHead<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetHead<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/com_atproto/sync/get_host_status.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetHostStatus<'a> {
#[serde(borrow)]
pub hostname: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetHostStatus<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub hostname: jacquard_common::CowStr<'a>,
}
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetLatestCommit<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetLatestCommit<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_record.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRecord<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRecord<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_repo.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRepo<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRepo<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRepoStatus<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRepoStatus<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_blobs.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListBlobs<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListBlobs<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_hosts.rs
···
}
}
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListHosts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 200, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
}
}
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListHosts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 200, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_repos.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListRepos<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 500, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListRepos<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 500, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+11 -1
crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListReposByCollection<'a> {
#[serde(borrow)]
pub collection: jacquard_common::types::string::Nsid<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 500, min: 1, max: 2000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListReposByCollection<'a> {
#[serde(borrow)]
pub collection: jacquard_common::types::string::Nsid<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 500, min: 1, max: 2000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct NotifyOfUpdate<'a> {
///Hostname of the current service (usually a PDS) that is notifying of update.
#[serde(borrow)]
pub hostname: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for NotifyOfUpdate<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct NotifyOfUpdate<'a> {
///Hostname of the current service (usually a PDS) that is notifying of update.
#[serde(borrow)]
+
#[builder(into)]
pub hostname: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for NotifyOfUpdate<'_> {
+18 -1
crates/jacquard-api/src/com_atproto/sync/request_crawl.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RequestCrawl<'a> {
///Hostname of the current service (eg, PDS) that is requesting to be crawled.
#[serde(borrow)]
pub hostname: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RequestCrawl<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RequestCrawl<'a> {
///Hostname of the current service (eg, PDS) that is requesting to be crawled.
#[serde(borrow)]
+
#[builder(into)]
pub hostname: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RequestCrawl<'_> {
+10 -1
crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs
···
}
}
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SubscribeRepos {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
}
}
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SubscribeRepos {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct AddReservedHandle<'a> {
#[serde(borrow)]
pub handle: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for AddReservedHandle<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct AddReservedHandle<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub handle: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for AddReservedHandle<'_> {
+11 -1
crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CheckHandleAvailability<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub birth_date: std::option::Option<jacquard_common::types::string::Datetime>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub email: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct CheckHandleAvailability<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub birth_date: std::option::Option<jacquard_common::types::string::Datetime>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub email: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub handle: jacquard_common::types::string::Handle<'a>,
+11 -1
crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DereferenceScope<'a> {
#[serde(borrow)]
pub scope: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct DereferenceScope<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub scope: jacquard_common::CowStr<'a>,
}
+10 -1
crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct FetchLabels {
///(default: 50, min: 1, max: 250)
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct FetchLabels {
///(default: 50, min: 1, max: 250)
+18 -1
crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RequestPhoneVerification<'a> {
#[serde(borrow)]
pub phone_number: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RequestPhoneVerification<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RequestPhoneVerification<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub phone_number: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RequestPhoneVerification<'_> {
+17 -1
crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RevokeAccountCredentials<'a> {
#[serde(borrow)]
pub account: jacquard_common::types::ident::AtIdentifier<'a>,
}
impl jacquard_common::IntoStatic for RevokeAccountCredentials<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RevokeAccountCredentials<'a> {
#[serde(borrow)]
pub account: jacquard_common::types::ident::AtIdentifier<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RevokeAccountCredentials<'_> {
+20 -1
crates/jacquard-api/src/tools_ozone/communication/create_template.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct CreateTemplate<'a> {
///Content of the template, markdown supported, can contain variable placeholders.
#[serde(borrow)]
pub content_markdown: jacquard_common::CowStr<'a>,
///DID of the user who is creating the template.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub lang: std::option::Option<jacquard_common::types::string::Language>,
///Name of the template.
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
///Subject of the message, used in emails.
#[serde(borrow)]
pub subject: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for CreateTemplate<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct CreateTemplate<'a> {
///Content of the template, markdown supported, can contain variable placeholders.
#[serde(borrow)]
+
#[builder(into)]
pub content_markdown: jacquard_common::CowStr<'a>,
///DID of the user who is creating the template.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub lang: std::option::Option<jacquard_common::types::string::Language>,
///Name of the template.
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
///Subject of the message, used in emails.
#[serde(borrow)]
+
#[builder(into)]
pub subject: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for CreateTemplate<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/communication/delete_template.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteTemplate<'a> {
#[serde(borrow)]
pub id: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for DeleteTemplate<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteTemplate<'a> {
#[serde(borrow)]
+
#[builder(into)]
pub id: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteTemplate<'_> {
+21 -1
crates/jacquard-api/src/tools_ozone/communication/update_template.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateTemplate<'a> {
///Content of the template, markdown supported, can contain variable placeholders.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub content_markdown: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub disabled: std::option::Option<bool>,
///ID of the template to be updated.
#[serde(borrow)]
pub id: jacquard_common::CowStr<'a>,
///Message language.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Name of the template.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub name: std::option::Option<jacquard_common::CowStr<'a>>,
///Subject of the message, used in emails.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject: std::option::Option<jacquard_common::CowStr<'a>>,
///DID of the user who is updating the template.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub updated_by: std::option::Option<jacquard_common::types::string::Did<'a>>,
}
impl jacquard_common::IntoStatic for UpdateTemplate<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateTemplate<'a> {
///Content of the template, markdown supported, can contain variable placeholders.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub content_markdown: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub disabled: std::option::Option<bool>,
///ID of the template to be updated.
#[serde(borrow)]
+
#[builder(into)]
pub id: jacquard_common::CowStr<'a>,
///Message language.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Name of the template.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub name: std::option::Option<jacquard_common::CowStr<'a>>,
///Subject of the message, used in emails.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub subject: std::option::Option<jacquard_common::CowStr<'a>>,
///DID of the user who is updating the template.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub updated_by: std::option::Option<jacquard_common::types::string::Did<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateTemplate<'_> {
+11 -1
crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs
···
}
}
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountHistory<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
···
}
}
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountHistory<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
+18 -1
crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct EmitEvent<'a> {
#[serde(borrow)]
pub created_by: jacquard_common::types::string::Did<'a>,
···
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub external_id: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(borrow)]
pub subject_blob_cids: std::option::Option<
Vec<jacquard_common::types::string::Cid<'a>>,
>,
}
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct EmitEvent<'a> {
#[serde(borrow)]
pub created_by: jacquard_common::types::string::Did<'a>,
···
///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.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub external_id: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
#[serde(borrow)]
pub subject_blob_cids: std::option::Option<
Vec<jacquard_common::types::string::Cid<'a>>,
+
>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
>,
}
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountTimeline<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetAccountTimeline<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_event.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetEvent {
pub id: i64,
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetEvent {
pub id: i64,
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_record.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRecord<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRecord<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_records.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRecords<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRecords<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRepo<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRepo<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetReporterStats<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetReporterStats<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetRepos<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetRepos<'a> {
#[serde(borrow)]
+10 -1
crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetSubjects<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetSubjects<'a> {
#[serde(borrow)]
+16 -1
crates/jacquard-api/src/tools_ozone/moderation/query_events.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct QueryEvents<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub added_tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub batch_id: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub collections: std::option::Option<Vec<jacquard_common::types::string::Nsid<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub created_after: std::option::Option<jacquard_common::types::string::Datetime>,
···
pub created_by: std::option::Option<jacquard_common::types::string::Did<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub has_comment: std::option::Option<bool>,
···
///(default: "desc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject: std::option::Option<jacquard_common::types::string::Uri<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject_type: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct QueryEvents<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub added_tags: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub batch_id: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub collections: std::option::Option<Vec<jacquard_common::types::string::Nsid<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub created_after: std::option::Option<jacquard_common::types::string::Datetime>,
···
pub created_by: std::option::Option<jacquard_common::types::string::Did<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub has_comment: std::option::Option<bool>,
···
///(default: "desc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject: std::option::Option<jacquard_common::types::string::Uri<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub subject_type: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+18 -1
crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct QueryStatuses<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub appealed: std::option::Option<bool>,
···
pub collections: std::option::Option<Vec<jacquard_common::types::string::Nsid<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
pub queue_index: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub queue_seed: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub reported_after: std::option::Option<jacquard_common::types::string::Datetime>,
···
pub reported_before: std::option::Option<jacquard_common::types::string::Datetime>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub review_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub reviewed_after: std::option::Option<jacquard_common::types::string::Datetime>,
···
///(default: "desc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "lastReportedAt")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_field: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject: std::option::Option<jacquard_common::types::string::Uri<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject_type: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct QueryStatuses<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub age_assurance_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub appealed: std::option::Option<bool>,
···
pub collections: std::option::Option<Vec<jacquard_common::types::string::Nsid<'a>>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
pub queue_index: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub queue_seed: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub reported_after: std::option::Option<jacquard_common::types::string::Datetime>,
···
pub reported_before: std::option::Option<jacquard_common::types::string::Datetime>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub review_state: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub reviewed_after: std::option::Option<jacquard_common::types::string::Datetime>,
···
///(default: "desc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "lastReportedAt")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_field: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub subject: std::option::Option<jacquard_common::types::string::Uri<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub subject_type: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+13 -1
crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchRepos<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub term: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchRepos<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub term: std::option::Option<jacquard_common::CowStr<'a>>,
}
+19 -1
crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct AddRule<'a> {
#[serde(borrow)]
pub action: crate::tools_ozone::safelink::ActionType<'a>,
///Optional comment about the decision
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
///Author DID. Only respected when using admin auth
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub reason: crate::tools_ozone::safelink::ReasonType<'a>,
///The URL or domain to apply the rule to
#[serde(borrow)]
pub url: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for AddRule<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct AddRule<'a> {
#[serde(borrow)]
pub action: crate::tools_ozone::safelink::ActionType<'a>,
///Optional comment about the decision
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
///Author DID. Only respected when using admin auth
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub reason: crate::tools_ozone::safelink::ReasonType<'a>,
///The URL or domain to apply the rule to
#[serde(borrow)]
+
#[builder(into)]
pub url: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for AddRule<'_> {
+20 -1
crates/jacquard-api/src/tools_ozone/safelink/query_events.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct QueryEvents<'a> {
///Cursor for pagination
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///Maximum number of results to return
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Filter by pattern type
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub pattern_type: std::option::Option<jacquard_common::CowStr<'a>>,
///Sort direction
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
///Filter by specific URLs or domains
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub urls: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
}
impl jacquard_common::IntoStatic for QueryEvents<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct QueryEvents<'a> {
///Cursor for pagination
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///Maximum number of results to return
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Filter by pattern type
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub pattern_type: std::option::Option<jacquard_common::CowStr<'a>>,
///Sort direction
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
///Filter by specific URLs or domains
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub urls: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for QueryEvents<'_> {
+21 -1
crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct QueryRules<'a> {
///Filter by action types
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Cursor for pagination
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///Maximum number of results to return
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Filter by pattern type
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub pattern_type: std::option::Option<jacquard_common::CowStr<'a>>,
///Filter by reason type
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub reason: std::option::Option<jacquard_common::CowStr<'a>>,
///Sort direction
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
///Filter by specific URLs or domains
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub urls: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
}
impl jacquard_common::IntoStatic for QueryRules<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct QueryRules<'a> {
///Filter by action types
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Cursor for pagination
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///Maximum number of results to return
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
///Filter by pattern type
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub pattern_type: std::option::Option<jacquard_common::CowStr<'a>>,
///Filter by reason type
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub reason: std::option::Option<jacquard_common::CowStr<'a>>,
///Sort direction
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
///Filter by specific URLs or domains
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub urls: std::option::Option<Vec<jacquard_common::CowStr<'a>>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for QueryRules<'_> {
+19 -1
crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RemoveRule<'a> {
///Optional comment about why the rule is being removed
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
///Optional DID of the user. Only respected when using admin auth.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub pattern: crate::tools_ozone::safelink::PatternType<'a>,
///The URL or domain to remove the rule for
#[serde(borrow)]
pub url: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RemoveRule<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RemoveRule<'a> {
///Optional comment about why the rule is being removed
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
///Optional DID of the user. Only respected when using admin auth.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub pattern: crate::tools_ozone::safelink::PatternType<'a>,
///The URL or domain to remove the rule for
#[serde(borrow)]
+
#[builder(into)]
pub url: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RemoveRule<'_> {
+19 -1
crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateRule<'a> {
#[serde(borrow)]
pub action: crate::tools_ozone::safelink::ActionType<'a>,
///Optional comment about the update
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
///Optional DID to credit as the creator. Only respected for admin_token authentication.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub reason: crate::tools_ozone::safelink::ReasonType<'a>,
///The URL or domain to update the rule for
#[serde(borrow)]
pub url: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for UpdateRule<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateRule<'a> {
#[serde(borrow)]
pub action: crate::tools_ozone::safelink::ActionType<'a>,
///Optional comment about the update
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub comment: std::option::Option<jacquard_common::CowStr<'a>>,
///Optional DID to credit as the creator. Only respected for admin_token authentication.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub reason: crate::tools_ozone::safelink::ReasonType<'a>,
///The URL or domain to update the rule for
#[serde(borrow)]
+
#[builder(into)]
pub url: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateRule<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/set/add_values.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct AddValues<'a> {
///Name of the set to add values to
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
///Array of string values to add to the set
#[serde(borrow)]
pub values: Vec<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for AddValues<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct AddValues<'a> {
///Name of the set to add values to
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
///Array of string values to add to the set
#[serde(borrow)]
pub values: Vec<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for AddValues<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/set/delete_set.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteSet<'a> {
///Name of the set to delete
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for DeleteSet<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteSet<'a> {
///Name of the set to delete
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteSet<'_> {
+18 -1
crates/jacquard-api/src/tools_ozone/set/delete_values.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteValues<'a> {
///Name of the set to delete values from
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
///Array of string values to delete from the set
#[serde(borrow)]
pub values: Vec<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for DeleteValues<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteValues<'a> {
///Name of the set to delete values from
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
///Array of string values to delete from the set
#[serde(borrow)]
pub values: Vec<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteValues<'_> {
+12 -1
crates/jacquard-api/src/tools_ozone/set/get_values.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GetValues<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 100, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
pub name: jacquard_common::CowStr<'a>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct GetValues<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 100, min: 1, max: 1000)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(borrow)]
+
#[builder(into)]
pub name: jacquard_common::CowStr<'a>,
}
+14 -1
crates/jacquard-api/src/tools_ozone/set/query_sets.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct QuerySets<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub name_prefix: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "name")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_by: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "asc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct QuerySets<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub name_prefix: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "name")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_by: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "asc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
}
+17 -1
crates/jacquard-api/src/tools_ozone/set/upsert_set.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpsertSet<'a> {
#[serde(flatten)]
#[serde(borrow)]
pub value: crate::tools_ozone::set::Set<'a>,
}
impl jacquard_common::IntoStatic for UpsertSet<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpsertSet<'a> {
#[serde(flatten)]
#[serde(borrow)]
pub value: crate::tools_ozone::set::Set<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpsertSet<'_> {
+13 -1
crates/jacquard-api/src/tools_ozone/setting/list_options.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListOptions<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub prefix: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "instance")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub scope: std::option::Option<jacquard_common::CowStr<'a>>,
}
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListOptions<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub prefix: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: "instance")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub scope: std::option::Option<jacquard_common::CowStr<'a>>,
}
+18 -1
crates/jacquard-api/src/tools_ozone/setting/remove_options.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RemoveOptions<'a> {
#[serde(borrow)]
pub keys: Vec<jacquard_common::types::string::Nsid<'a>>,
#[serde(borrow)]
pub scope: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for RemoveOptions<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RemoveOptions<'a> {
#[serde(borrow)]
pub keys: Vec<jacquard_common::types::string::Nsid<'a>>,
#[serde(borrow)]
+
#[builder(into)]
pub scope: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RemoveOptions<'_> {
+20 -1
crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpsertOption<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub description: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub key: jacquard_common::types::string::Nsid<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub manager_role: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub scope: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub value: jacquard_common::types::value::Data<'a>,
}
impl jacquard_common::IntoStatic for UpsertOption<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpsertOption<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub description: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
pub key: jacquard_common::types::string::Nsid<'a>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub manager_role: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(borrow)]
+
#[builder(into)]
pub scope: jacquard_common::CowStr<'a>,
#[serde(borrow)]
pub value: jacquard_common::types::value::Data<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpsertOption<'_> {
+10 -1
crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct FindCorrelation<'a> {
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct FindCorrelation<'a> {
#[serde(borrow)]
+11 -1
crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchAccounts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct SearchAccounts<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
///(default: 50, min: 1, max: 100)
#[serde(skip_serializing_if = "std::option::Option::is_none")]
+18 -1
crates/jacquard-api/src/tools_ozone/team/add_member.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct AddMember<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
pub role: jacquard_common::CowStr<'a>,
}
impl jacquard_common::IntoStatic for AddMember<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct AddMember<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
#[serde(borrow)]
+
#[builder(into)]
pub role: jacquard_common::CowStr<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for AddMember<'_> {
+17 -1
crates/jacquard-api/src/tools_ozone/team/delete_member.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct DeleteMember<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
}
impl jacquard_common::IntoStatic for DeleteMember<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct DeleteMember<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for DeleteMember<'_> {
+12 -1
crates/jacquard-api/src/tools_ozone/team/list_members.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListMembers<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub disabled: std::option::Option<bool>,
···
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListMembers<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub disabled: std::option::Option<bool>,
···
pub limit: std::option::Option<i64>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub q: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+18 -1
crates/jacquard-api/src/tools_ozone/team/update_member.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UpdateMember<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
···
pub disabled: std::option::Option<bool>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub role: std::option::Option<jacquard_common::CowStr<'a>>,
}
impl jacquard_common::IntoStatic for UpdateMember<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct UpdateMember<'a> {
#[serde(borrow)]
pub did: jacquard_common::types::string::Did<'a>,
···
pub disabled: std::option::Option<bool>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub role: std::option::Option<jacquard_common::CowStr<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for UpdateMember<'_> {
+17 -1
crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs
···
}
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct GrantVerifications<'a> {
///Array of verification requests to process
#[serde(borrow)]
pub verifications: Vec<jacquard_common::types::value::Data<'a>>,
}
impl jacquard_common::IntoStatic for GrantVerifications<'_> {
···
}
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct GrantVerifications<'a> {
///Array of verification requests to process
#[serde(borrow)]
pub verifications: Vec<jacquard_common::types::value::Data<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for GrantVerifications<'_> {
+12 -1
crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListVerifications<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub created_before: std::option::Option<jacquard_common::types::string::Datetime>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub is_revoked: std::option::Option<bool>,
···
///(default: "desc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
···
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct ListVerifications<'a> {
#[serde(skip_serializing_if = "std::option::Option::is_none")]
···
pub created_before: std::option::Option<jacquard_common::types::string::Datetime>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub cursor: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
pub is_revoked: std::option::Option<bool>,
···
///(default: "desc")
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub sort_direction: std::option::Option<jacquard_common::CowStr<'a>>,
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+18 -1
crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct RevokeVerifications<'a> {
///Reason for revoking the verification. This is optional and can be omitted if not needed.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
pub revoke_reason: std::option::Option<jacquard_common::CowStr<'a>>,
///Array of verification record uris to revoke
#[serde(borrow)]
pub uris: Vec<jacquard_common::types::string::AtUri<'a>>,
}
impl jacquard_common::IntoStatic for RevokeVerifications<'_> {
···
// Any manual changes will be overwritten on the next regeneration.
#[jacquard_derive::lexicon]
+
#[derive(
+
serde::Serialize,
+
serde::Deserialize,
+
Debug,
+
Clone,
+
PartialEq,
+
Eq,
+
bon::Builder
+
)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct RevokeVerifications<'a> {
///Reason for revoking the verification. This is optional and can be omitted if not needed.
#[serde(skip_serializing_if = "std::option::Option::is_none")]
#[serde(borrow)]
+
#[builder(into)]
pub revoke_reason: std::option::Option<jacquard_common::CowStr<'a>>,
///Array of verification record uris to revoke
#[serde(borrow)]
pub uris: Vec<jacquard_common::types::string::AtUri<'a>>,
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>,
+
>,
}
impl jacquard_common::IntoStatic for RevokeVerifications<'_> {
+1 -1
crates/jacquard-derive/tests/open_union.rs
···
#[test]
fn test_open_union_unknown_variant() {
-
use jacquard_common::types::value::{Data, Object};
let json = r#"{"$type":"com.example.unknown","data":"something"}"#;
let union: TestUnion = serde_json::from_str(json).unwrap();
···
#[test]
fn test_open_union_unknown_variant() {
+
use jacquard_common::types::value::Data;
let json = r#"{"$type":"com.example.unknown","data":"something"}"#;
let union: TestUnion = serde_json::from_str(json).unwrap();
+47 -19
crates/jacquard-lexicon/src/codegen.rs
···
let ident = syn::Ident::new(&type_name, proc_macro2::Span::call_site());
// Generate main struct fields
-
let fields = self.generate_object_fields(nsid, &type_name, obj)?;
let doc = self.generate_doc_comment(record.description.as_ref());
// Records always get a lifetime since they have the #[lexicon] attribute
···
let type_name = self.def_to_type_name(nsid, def_name);
let ident = syn::Ident::new(&type_name, proc_macro2::Span::call_site());
-
let fields = self.generate_object_fields(nsid, &type_name, obj)?;
let doc = self.generate_doc_comment(obj.description.as_ref());
// Objects always get a lifetime since they have the #[lexicon] attribute
···
nsid: &str,
parent_type_name: &str,
obj: &LexObject<'static>,
) -> Result<TokenStream> {
let required = obj.required.as_ref().map(|r| r.as_slice()).unwrap_or(&[]);
···
for (field_name, field_type) in &obj.properties {
let is_required = required.contains(field_name);
let field_tokens =
-
self.generate_field(nsid, parent_type_name, field_name, field_type, is_required)?;
fields.push(field_tokens);
}
···
field_name: &str,
field_type: &LexObjectProperty<'static>,
is_required: bool,
) -> Result<TokenStream> {
let field_ident = make_ident(&field_name.to_snake_case());
···
self.property_to_rust_type(nsid, parent_type_name, field_name, field_type)?;
let needs_lifetime = self.property_needs_lifetime(field_type);
let rust_type = if is_required {
rust_type
} else {
···
// Add serde(borrow) to all fields with lifetimes
if needs_lifetime {
attrs.push(quote! { #[serde(borrow)] });
}
Ok(quote! {
···
let struct_name = format!("{}Message", type_base);
let struct_ident = syn::Ident::new(&struct_name, proc_macro2::Span::call_site());
-
let fields = self.generate_object_fields("", &struct_name, obj)?;
let doc = self.generate_doc_comment(obj.description.as_ref());
// Subscription message structs always get a lifetime since they have the #[lexicon] attribute
···
let doc = self.generate_doc_comment(p.description.as_ref());
let needs_lifetime = self.params_need_lifetime(p);
-
let derives =
-
quote! { #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] };
// Generate IntoStatic impl
let field_names: Vec<&str> = p.properties.keys().map(|k| k.as_str()).collect();
···
let is_binary_body = body.schema.is_none();
let fields = if let Some(schema) = &body.schema {
-
self.generate_body_fields("", type_base, schema)?
} else {
// Binary body: just a bytes field
quote! {
···
let struct_def = if is_binary_body {
quote! {
#doc
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct #ident {
#fields
}
}
} else {
-
// Input structs with schemas get a lifetime since they have the #[lexicon] attribute
-
// which adds extra_data: BTreeMap<..., Data<'a>>
quote! {
#doc
#[jacquard_derive::lexicon]
-
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct #ident<'a> {
#fields
}
}
};
···
let ident = syn::Ident::new(&struct_name, proc_macro2::Span::call_site());
let fields = if let Some(schema) = &body.schema {
-
self.generate_body_fields("", &struct_name, schema)?
} else {
quote! {}
};
···
nsid: &str,
parent_type_name: &str,
schema: &LexXrpcBodySchema<'static>,
) -> Result<TokenStream> {
use crate::lexicon::LexXrpcBodySchema;
match schema {
LexXrpcBodySchema::Object(obj) => {
-
self.generate_object_fields(nsid, parent_type_name, obj)
}
LexXrpcBodySchema::Ref(ref_type) => {
let rust_type = self.ref_to_rust_type(&ref_type.r#ref)?;
···
let field_ident = make_ident(&field_name.to_snake_case());
-
let (rust_type, needs_lifetime) = match field_type {
-
LexXrpcParametersProperty::Boolean(_) => (quote! { bool }, false),
-
LexXrpcParametersProperty::Integer(_) => (quote! { i64 }, false),
LexXrpcParametersProperty::String(s) => {
-
(self.string_to_rust_type(s), self.string_needs_lifetime(s))
}
LexXrpcParametersProperty::Unknown(_) => {
-
(quote! { jacquard_common::types::value::Data<'a> }, true)
}
LexXrpcParametersProperty::Array(arr) => {
let needs_lifetime = match &arr.items {
···
quote! { jacquard_common::types::value::Data<'a> }
}
};
-
(quote! { Vec<#item_type> }, needs_lifetime)
}
};
···
// Add serde(borrow) to all fields with lifetimes
if needs_lifetime {
attrs.push(quote! { #[serde(borrow)] });
}
Ok(quote! {
···
let ident = syn::Ident::new(&type_name, proc_macro2::Span::call_site());
// Generate main struct fields
+
let fields = self.generate_object_fields(nsid, &type_name, obj, false)?;
let doc = self.generate_doc_comment(record.description.as_ref());
// Records always get a lifetime since they have the #[lexicon] attribute
···
let type_name = self.def_to_type_name(nsid, def_name);
let ident = syn::Ident::new(&type_name, proc_macro2::Span::call_site());
+
let fields = self.generate_object_fields(nsid, &type_name, obj, false)?;
let doc = self.generate_doc_comment(obj.description.as_ref());
// Objects always get a lifetime since they have the #[lexicon] attribute
···
nsid: &str,
parent_type_name: &str,
obj: &LexObject<'static>,
+
is_builder: bool,
) -> Result<TokenStream> {
let required = obj.required.as_ref().map(|r| r.as_slice()).unwrap_or(&[]);
···
for (field_name, field_type) in &obj.properties {
let is_required = required.contains(field_name);
let field_tokens =
+
self.generate_field(nsid, parent_type_name, field_name, field_type, is_required, is_builder)?;
fields.push(field_tokens);
}
···
field_name: &str,
field_type: &LexObjectProperty<'static>,
is_required: bool,
+
is_builder: bool,
) -> Result<TokenStream> {
let field_ident = make_ident(&field_name.to_snake_case());
···
self.property_to_rust_type(nsid, parent_type_name, field_name, field_type)?;
let needs_lifetime = self.property_needs_lifetime(field_type);
+
// Check if this is a CowStr field for builder(into) attribute
+
let is_cowstr = matches!(field_type, LexObjectProperty::String(s) if s.format.is_none());
+
let rust_type = if is_required {
rust_type
} else {
···
// Add serde(borrow) to all fields with lifetimes
if needs_lifetime {
attrs.push(quote! { #[serde(borrow)] });
+
}
+
+
// Add builder(into) for CowStr fields to allow String, &str, etc., but only for builder structs
+
if is_builder && is_cowstr {
+
attrs.push(quote! { #[builder(into)] });
}
Ok(quote! {
···
let struct_name = format!("{}Message", type_base);
let struct_ident = syn::Ident::new(&struct_name, proc_macro2::Span::call_site());
+
let fields = self.generate_object_fields("", &struct_name, obj, false)?;
let doc = self.generate_doc_comment(obj.description.as_ref());
// Subscription message structs always get a lifetime since they have the #[lexicon] attribute
···
let doc = self.generate_doc_comment(p.description.as_ref());
let needs_lifetime = self.params_need_lifetime(p);
+
let derives = quote! {
+
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder)]
+
#[builder(start_fn = new)]
+
};
// Generate IntoStatic impl
let field_names: Vec<&str> = p.properties.keys().map(|k| k.as_str()).collect();
···
let is_binary_body = body.schema.is_none();
let fields = if let Some(schema) = &body.schema {
+
self.generate_body_fields("", type_base, schema, true)?
} else {
// Binary body: just a bytes field
quote! {
···
let struct_def = if is_binary_body {
quote! {
#doc
+
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder)]
+
#[builder(start_fn = new)]
#[serde(rename_all = "camelCase")]
pub struct #ident {
#fields
}
}
} else {
+
// Input structs with schemas: manually add extra_data field with #[builder(default)]
+
// for bon compatibility. The #[lexicon] macro will see it exists and skip adding it.
quote! {
#doc
#[jacquard_derive::lexicon]
+
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder)]
#[serde(rename_all = "camelCase")]
+
#[builder(start_fn = new)]
pub struct #ident<'a> {
#fields
+
#[serde(flatten)]
+
#[serde(borrow)]
+
#[builder(default)]
+
pub extra_data: ::std::collections::BTreeMap<
+
::jacquard_common::smol_str::SmolStr,
+
::jacquard_common::types::value::Data<'a>
+
>,
}
}
};
···
let ident = syn::Ident::new(&struct_name, proc_macro2::Span::call_site());
let fields = if let Some(schema) = &body.schema {
+
self.generate_body_fields("", &struct_name, schema, false)?
} else {
quote! {}
};
···
nsid: &str,
parent_type_name: &str,
schema: &LexXrpcBodySchema<'static>,
+
is_builder: bool,
) -> Result<TokenStream> {
use crate::lexicon::LexXrpcBodySchema;
match schema {
LexXrpcBodySchema::Object(obj) => {
+
self.generate_object_fields(nsid, parent_type_name, obj, is_builder)
}
LexXrpcBodySchema::Ref(ref_type) => {
let rust_type = self.ref_to_rust_type(&ref_type.r#ref)?;
···
let field_ident = make_ident(&field_name.to_snake_case());
+
let (rust_type, needs_lifetime, is_cowstr) = match field_type {
+
LexXrpcParametersProperty::Boolean(_) => (quote! { bool }, false, false),
+
LexXrpcParametersProperty::Integer(_) => (quote! { i64 }, false, false),
LexXrpcParametersProperty::String(s) => {
+
let is_cowstr = s.format.is_none(); // CowStr for plain strings
+
(self.string_to_rust_type(s), self.string_needs_lifetime(s), is_cowstr)
}
LexXrpcParametersProperty::Unknown(_) => {
+
(quote! { jacquard_common::types::value::Data<'a> }, true, false)
}
LexXrpcParametersProperty::Array(arr) => {
let needs_lifetime = match &arr.items {
···
quote! { jacquard_common::types::value::Data<'a> }
}
};
+
(quote! { Vec<#item_type> }, needs_lifetime, false)
}
};
···
// Add serde(borrow) to all fields with lifetimes
if needs_lifetime {
attrs.push(quote! { #[serde(borrow)] });
+
}
+
+
// Add builder(into) for CowStr fields to allow String, &str, etc.
+
if is_cowstr {
+
attrs.push(quote! { #[builder(into)] });
}
Ok(quote! {
-47
crates/jacquard-lexicon/src/lib.rs
···
pub mod fs;
pub mod lexicon;
pub mod union_registry;
-
-
// #[lexicon]
-
// #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
-
// #[serde(rename_all = "camelCase")]
-
// pub struct Post<'s> {
-
// ///Client-declared timestamp when this post was originally created.
-
// pub created_at: jacquard_common::types::string::Datetime,
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub embed: core::option::Option<RecordEmbed<'s>>,
-
// ///DEPRECATED: replaced by app.bsky.richtext.facet.
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub entities: core::option::Option<Vec<Entity<'s>>>,
-
// ///Annotations of text (mentions, URLs, hashtags, etc)
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub facets: core::option::Option<Vec<jacquard_api::app_bsky::richtext::Facet<'s>>>,
-
// ///Self-label values for this post. Effectively content warnings.
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub labels: core::option::Option<RecordLabels<'s>>,
-
// ///Indicates human language of post primary text content.
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub langs: core::option::Option<Vec<jacquard_common::types::string::Language>>,
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub reply: core::option::Option<ReplyRef<'s>>,
-
// ///Additional hashtags, in addition to any included in post text and facets.
-
// #[serde(skip_serializing_if = "core::option::Option::is_none")]
-
// pub tags: core::option::Option<Vec<jacquard_common::CowStr<'s>>>,
-
// ///The primary post content. May be an empty string, if there are embeds.
-
// #[serde(borrow)]
-
// pub text: jacquard_common::CowStr<'s>,
-
// }
-
-
// #[open_union]
-
// #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
-
// #[serde(tag = "$type")]
-
// pub enum RecordEmbed<'s> {
-
// #[serde(borrow)]
-
// #[serde(rename = "app.bsky.embed.images")]
-
// EmbedImages(Box<jacquard_api::app_bsky::embed::Images<'s>>),
-
// #[serde(rename = "app.bsky.embed.video")]
-
// EmbedVideo(Box<jacquard_api::app_bsky::embed::Video<'s>>),
-
// #[serde(rename = "app.bsky.embed.external")]
-
// EmbedExternal(Box<jacquard_api::app_bsky::embed::External<'s>>),
-
// #[serde(rename = "app.bsky.embed.record")]
-
// EmbedRecord(Box<jacquard_api::app_bsky::embed::Record<'s>>),
-
// #[serde(rename = "app.bsky.embed.recordWithMedia")]
-
// EmbedRecordWithMedia(Box<jacquard_api::app_bsky::embed::RecordWithMedia<'s>>),
-
// }
···
pub mod fs;
pub mod lexicon;
pub mod union_registry;
+1
crates/jacquard/Cargo.toml
···
serde_ipld_dagcbor = "0.6.4"
serde_json = "1.0"
thiserror = "2.0"
···
serde_ipld_dagcbor = "0.6.4"
serde_json = "1.0"
thiserror = "2.0"
+
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
+53 -11
crates/jacquard/src/main.rs
···
use clap::Parser;
-
use jacquard_api::com_atproto::repo::create_record::*;
#[derive(Parser, Debug)]
-
#[command(author = "Orual", version, about)]
-
/// Application configuration
struct Args {
-
/// whether to be verbose
-
#[arg(short = 'v')]
-
verbose: bool,
-
/// an optional name to greet
-
#[arg()]
-
name: Option<String>,
}
-
fn main() {
-
let client = reqwest::Client::new();
}
···
use clap::Parser;
+
use jacquard::client::{AuthenticatedClient, Session, XrpcClient};
+
use jacquard_api::app_bsky::feed::get_timeline::GetTimeline;
+
use jacquard_api::com_atproto::server::create_session::CreateSession;
+
use jacquard_common::CowStr;
+
use miette::IntoDiagnostic;
#[derive(Parser, Debug)]
+
#[command(author, version, about = "Jacquard - AT Protocol client demo")]
struct Args {
+
/// Username/handle (e.g., alice.bsky.social)
+
#[arg(short, long)]
+
username: CowStr<'static>,
+
/// PDS URL (e.g., https://bsky.social)
+
#[arg(long, default_value = "https://bsky.social")]
+
pds: CowStr<'static>,
+
+
/// App password
+
#[arg(short, long)]
+
password: CowStr<'static>,
}
+
#[tokio::main]
+
async fn main() -> miette::Result<()> {
+
let args = Args::parse();
+
+
// Create HTTP client
+
let http = reqwest::Client::new();
+
let mut client = AuthenticatedClient::new(http, CowStr::from(args.pds));
+
+
// Create session
+
println!("logging in as {}...", args.username);
+
let create_session = CreateSession::new()
+
.identifier(args.username)
+
.password(args.password)
+
.build();
+
+
let session_output = client.send(create_session).await?.into_output()?;
+
let session = Session::from(session_output);
+
+
println!("logged in as {} ({})", session.handle, session.did);
+
client.set_session(session);
+
+
// Fetch timeline
+
println!("\nfetching timeline...");
+
let timeline_req = GetTimeline::new().limit(5).build();
+
+
let timeline = client.send(timeline_req).await?.into_output()?;
+
+
println!("\ntimeline ({} posts):", timeline.feed.len());
+
for (i, post) in timeline.feed.iter().enumerate() {
+
println!("\n{}. by {}", i + 1, post.post.author.handle);
+
println!(
+
" {}",
+
serde_json::to_string_pretty(&post.post.record).into_diagnostic()?
+
);
+
}
+
+
Ok(())
}