// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: com.atproto.admin.getAccountInfos // // 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)] pub dids: Vec>, } impl jacquard_common::IntoStatic for GetAccountInfos<'_> { type Output = GetAccountInfos<'static>; fn into_static(self) -> Self::Output { GetAccountInfos { dids: self.dids.into_static(), } } } #[jacquard_derive::lexicon] #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct GetAccountInfosOutput<'a> { #[serde(borrow)] pub infos: Vec>, } impl jacquard_common::IntoStatic for GetAccountInfosOutput<'_> { type Output = GetAccountInfosOutput<'static>; fn into_static(self) -> Self::Output { GetAccountInfosOutput { infos: self.infos.into_static(), extra_data: self.extra_data.into_static(), } } } impl jacquard_common::types::xrpc::XrpcRequest for GetAccountInfos<'_> { const NSID: &'static str = "com.atproto.admin.getAccountInfos"; const METHOD: jacquard_common::types::xrpc::XrpcMethod = jacquard_common::types::xrpc::XrpcMethod::Query; const OUTPUT_ENCODING: &'static str = "application/json"; type Output<'de> = GetAccountInfosOutput<'de>; type Err<'de> = jacquard_common::types::xrpc::GenericError<'de>; }