jacquard_api/com_atproto/server/
request_account_delete.rs1#[allow(unused_imports)]
9use core::marker::PhantomData;
10use jacquard_derive::IntoStatic;
11use serde::{Serialize, Deserialize};
12#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)]
15pub struct RequestAccountDelete;
16pub struct RequestAccountDeleteResponse;
18impl jacquard_common::xrpc::XrpcResp for RequestAccountDeleteResponse {
19 const NSID: &'static str = "com.atproto.server.requestAccountDelete";
20 const ENCODING: &'static str = "application/json";
21 type Output<'de> = ();
22 type Err<'de> = jacquard_common::xrpc::GenericError<'de>;
23}
24
25impl jacquard_common::xrpc::XrpcRequest for RequestAccountDelete {
26 const NSID: &'static str = "com.atproto.server.requestAccountDelete";
27 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
28 "application/json",
29 );
30 type Response = RequestAccountDeleteResponse;
31}
32
33pub struct RequestAccountDeleteRequest;
35impl jacquard_common::xrpc::XrpcEndpoint for RequestAccountDeleteRequest {
36 const PATH: &'static str = "/xrpc/com.atproto.server.requestAccountDelete";
37 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
38 "application/json",
39 );
40 type Request<'de> = RequestAccountDelete;
41 type Response = RequestAccountDeleteResponse;
42}