···253253 PartialEq,
254254 Eq,
255255 jacquard_derive::IntoStatic,
256256- bon::Builder
256256+ Default
257257)]
258258#[serde(rename_all = "camelCase")]
259259pub struct SelfLabel<'a> {
260260 /// The short string name of the value or type of this label.
261261 #[serde(borrow)]
262262- #[builder(into)]
263262 pub val: jacquard_common::CowStr<'a>,
264263}
265264
···1515 PartialEq,
1616 Eq,
1717 jacquard_derive::IntoStatic,
1818- bon::Builder
1818+ Default
1919)]
2020#[serde(rename_all = "camelCase")]
2121pub struct Address<'a> {
2222 /// The ISO 3166 country code. Preferably the 2-letter code.
2323 #[serde(borrow)]
2424- #[builder(into)]
2524 pub country: jacquard_common::CowStr<'a>,
2625 /// The locality of the region. For example, a city in the USA.
2726 #[serde(skip_serializing_if = "std::option::Option::is_none")]
2828- #[builder(into)]
2927 #[serde(borrow)]
3030- pub locality: Option<jacquard_common::CowStr<'a>>,
2828+ pub locality: std::option::Option<jacquard_common::CowStr<'a>>,
3129 /// The name of the location.
3230 #[serde(skip_serializing_if = "std::option::Option::is_none")]
3333- #[builder(into)]
3431 #[serde(borrow)]
3535- pub name: Option<jacquard_common::CowStr<'a>>,
3232+ pub name: std::option::Option<jacquard_common::CowStr<'a>>,
3633 /// The postal code of the location.
3734 #[serde(skip_serializing_if = "std::option::Option::is_none")]
3838- #[builder(into)]
3935 #[serde(borrow)]
4040- pub postal_code: Option<jacquard_common::CowStr<'a>>,
3636+ pub postal_code: std::option::Option<jacquard_common::CowStr<'a>>,
4137 /// The administrative region of the country. For example, a state in the USA.
4238 #[serde(skip_serializing_if = "std::option::Option::is_none")]
4343- #[builder(into)]
4439 #[serde(borrow)]
4545- pub region: Option<jacquard_common::CowStr<'a>>,
4040+ pub region: std::option::Option<jacquard_common::CowStr<'a>>,
4641 /// The street address.
4742 #[serde(skip_serializing_if = "std::option::Option::is_none")]
4848- #[builder(into)]
4943 #[serde(borrow)]
5050- pub street: Option<jacquard_common::CowStr<'a>>,
4444+ pub street: std::option::Option<jacquard_common::CowStr<'a>>,
5145}
···1515 PartialEq,
1616 Eq,
1717 jacquard_derive::IntoStatic,
1818- bon::Builder
1818+ Default
1919)]
2020#[serde(rename_all = "camelCase")]
2121pub struct ContentTypes<'a> {
2222 /// Mute regular posts from accounts on this list
2323 #[serde(skip_serializing_if = "std::option::Option::is_none")]
2424- #[builder(into)]
2525- pub posts: Option<bool>,
2424+ pub posts: std::option::Option<bool>,
2625 /// Mute quote posts from accounts on this list
2726 #[serde(skip_serializing_if = "std::option::Option::is_none")]
2828- #[builder(into)]
2929- pub quotes: Option<bool>,
2727+ pub quotes: std::option::Option<bool>,
3028 /// Mute replies from accounts on this list
3129 #[serde(skip_serializing_if = "std::option::Option::is_none")]
3232- #[builder(into)]
3333- pub replies: Option<bool>,
3030+ pub replies: std::option::Option<bool>,
3431 /// Mute reposts from accounts on this list
3532 #[serde(skip_serializing_if = "std::option::Option::is_none")]
3636- #[builder(into)]
3737- pub reposts: Option<bool>,
3333+ pub reposts: std::option::Option<bool>,
3834}
39354036/// A record for muting content from all accounts on a list with fine-grained control over content types, duration, and feed targeting
+5-9
crates/jacquard-api/src/net_anisota/graph/mute.rs
···1515 PartialEq,
1616 Eq,
1717 jacquard_derive::IntoStatic,
1818- bon::Builder
1818+ Default
1919)]
2020#[serde(rename_all = "camelCase")]
2121pub struct ContentTypes<'a> {
2222 /// Mute regular posts from this account
2323 #[serde(skip_serializing_if = "std::option::Option::is_none")]
2424- #[builder(into)]
2525- pub posts: Option<bool>,
2424+ pub posts: std::option::Option<bool>,
2625 /// Mute quote posts from this account
2726 #[serde(skip_serializing_if = "std::option::Option::is_none")]
2828- #[builder(into)]
2929- pub quotes: Option<bool>,
2727+ pub quotes: std::option::Option<bool>,
3028 /// Mute replies from this account
3129 #[serde(skip_serializing_if = "std::option::Option::is_none")]
3232- #[builder(into)]
3333- pub replies: Option<bool>,
3030+ pub replies: std::option::Option<bool>,
3431 /// Mute reposts from this account
3532 #[serde(skip_serializing_if = "std::option::Option::is_none")]
3636- #[builder(into)]
3737- pub reposts: Option<bool>,
3333+ pub reposts: std::option::Option<bool>,
3834}
39354036/// A record for muting content from a specific account with fine-grained control over content types and duration
···9292 PartialEq,
9393 Eq,
9494 jacquard_derive::IntoStatic,
9595- bon::Builder
9595+ Default
9696)]
9797#[serde(rename_all = "camelCase")]
9898pub struct ContentFormat<'a> {
9999 /// The format of the content. This is used to determine how to render the content.
100100 #[serde(skip_serializing_if = "std::option::Option::is_none")]
101101- #[builder(into)]
102101 #[serde(borrow)]
103103- pub markdown: Option<jacquard_common::CowStr<'a>>,
102102+ pub markdown: std::option::Option<jacquard_common::CowStr<'a>>,
104103}
105104106105#[jacquard_derive::lexicon]
+1-2
crates/jacquard-api/src/social_clippr/actor.rs
···8282 PartialEq,
8383 Eq,
8484 jacquard_derive::IntoStatic,
8585- bon::Builder
8585+ Default
8686)]
8787#[serde(rename_all = "camelCase")]
8888pub struct PublishingScopesPref<'a> {
8989 /// What publishing scope to mark a clip as by default
9090 #[serde(borrow)]
9191- #[builder(into)]
9291 pub default_scope: jacquard_common::CowStr<'a>,
9392}
···3838 PartialEq,
3939 Eq,
4040 jacquard_derive::IntoStatic,
4141- bon::Builder
4141+ Default
4242)]
4343#[serde(rename_all = "camelCase")]
4444pub struct NotifyBody<'a> {
4545 /// Body text of the notification.
4646 #[serde(borrow)]
4747- #[builder(into)]
4847 pub body: jacquard_common::CowStr<'a>,
4948 /// The URI of the icon displayed in the notification.
5049 #[serde(skip_serializing_if = "std::option::Option::is_none")]
5151- #[builder(into)]
5250 #[serde(borrow)]
5353- pub icon: Option<jacquard_common::types::string::Uri<'a>>,
5151+ pub icon: std::option::Option<jacquard_common::types::string::Uri<'a>>,
5452 /// Experimental — do not use. The URI to open when the notification is clicked.
5553 #[serde(skip_serializing_if = "std::option::Option::is_none")]
5656- #[builder(into)]
5754 #[serde(borrow)]
5858- pub link: Option<jacquard_common::types::string::Uri<'a>>,
5555+ pub link: std::option::Option<jacquard_common::types::string::Uri<'a>>,
5956 /// Title text of the notification.
6057 #[serde(borrow)]
6161- #[builder(into)]
6258 pub title: jacquard_common::CowStr<'a>,
6359}
···305305 /// inspect the header for `error="invalid_token"` or `error="use_dpop_nonce"` and react
306306 /// (refresh/retry). If the header is absent, the 401 body flows through to `Response` and
307307 /// can be parsed/mapped to `AuthError` as appropriate.
308308+ #[cfg_attr(feature = "tracing", tracing::instrument(level = "debug", skip(self, request), fields(nsid = R::NSID)))]
308309 pub async fn send<R>(self, request: &R) -> XrpcResult<Response<<R as XrpcRequest>::Response>>
309310 where
310311 R: XrpcRequest + Send + Sync,