// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: app.bsky.graph.muteThread // // This file was automatically generated from Lexicon schemas. // 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<'_> { type Output = MuteThread<'static>; fn into_static(self) -> Self::Output { MuteThread { root: self.root.into_static(), extra_data: self.extra_data.into_static(), } } } impl jacquard_common::types::xrpc::XrpcRequest for MuteThread<'_> { const NSID: &'static str = "app.bsky.graph.muteThread"; const METHOD: jacquard_common::types::xrpc::XrpcMethod = jacquard_common::types::xrpc::XrpcMethod::Procedure( "application/json", ); const OUTPUT_ENCODING: &'static str = "application/json"; type Output<'de> = (); type Err<'de> = jacquard_common::types::xrpc::GenericError<'de>; }