#[allow(unused_imports)]
use alloc::collections::BTreeMap;
#[allow(unused_imports)]
use core::marker::PhantomData;
use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
use jacquard_common::deps::smol_str::SmolStr;
use jacquard_common::types::value::Data;
use jacquard_derive::IntoStatic;
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)]
pub struct RequestAccountDelete;
pub struct RequestAccountDeleteResponse;
impl jacquard_common::xrpc::XrpcResp for RequestAccountDeleteResponse {
const NSID: &'static str = "com.atproto.server.requestAccountDelete";
const ENCODING: &'static str = "application/json";
type Output<S: BosStr> = ();
type Err = jacquard_common::xrpc::GenericError;
}
impl jacquard_common::xrpc::XrpcRequest for RequestAccountDelete {
const NSID: &'static str = "com.atproto.server.requestAccountDelete";
const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
"application/json",
);
type Response = RequestAccountDeleteResponse;
}
pub struct RequestAccountDeleteRequest;
impl jacquard_common::xrpc::XrpcEndpoint for RequestAccountDeleteRequest {
const PATH: &'static str = "/xrpc/com.atproto.server.requestAccountDelete";
const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
"application/json",
);
type Request<S: BosStr> = RequestAccountDelete;
type Response = RequestAccountDeleteResponse;
}