Skip to main content

jacquard_api/com_atproto/server/
request_account_delete.rs

1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: com.atproto.server.requestAccountDelete
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[allow(unused_imports)]
9use core::marker::PhantomData;
10use jacquard_derive::IntoStatic;
11use serde::{Serialize, Deserialize};
12/// XRPC request marker type.
13
14#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)]
15pub struct RequestAccountDelete;
16/// Response type for com.atproto.server.requestAccountDelete
17pub 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
33/// Endpoint type for com.atproto.server.requestAccountDelete
34pub 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}