// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: com.atproto.admin.deleteAccount // // 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, jacquard_derive::IntoStatic )] #[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>, >, } ///Response type for ///com.atproto.admin.deleteAccount pub struct DeleteAccountResponse; impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { const NSID: &'static str = "com.atproto.admin.deleteAccount"; const ENCODING: &'static str = "application/json"; type Output<'de> = (); type Err<'de> = jacquard_common::xrpc::GenericError<'de>; } impl<'a> jacquard_common::xrpc::XrpcRequest for DeleteAccount<'a> { const NSID: &'static str = "com.atproto.admin.deleteAccount"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( "application/json", ); type Response = DeleteAccountResponse; } ///Endpoint type for ///com.atproto.admin.deleteAccount pub struct DeleteAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.deleteAccount"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( "application/json", ); type Request<'de> = DeleteAccount<'de>; type Response = DeleteAccountResponse; }