1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: com.atproto.temp.checkSignupQueue
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[jacquard_derive::lexicon]
9#[derive(
10 serde::Serialize,
11 serde::Deserialize,
12 Debug,
13 Clone,
14 PartialEq,
15 Eq,
16 jacquard_derive::IntoStatic
17)]
18#[serde(rename_all = "camelCase")]
19pub struct CheckSignupQueueOutput<'a> {
20 pub activated: bool,
21 #[serde(skip_serializing_if = "std::option::Option::is_none")]
22 pub estimated_time_ms: std::option::Option<i64>,
23 #[serde(skip_serializing_if = "std::option::Option::is_none")]
24 pub place_in_queue: std::option::Option<i64>,
25}
26
27/// XRPC request marker type
28#[derive(
29 Debug,
30 Clone,
31 Copy,
32 PartialEq,
33 Eq,
34 serde::Serialize,
35 serde::Deserialize,
36 jacquard_derive::IntoStatic
37)]
38pub struct CheckSignupQueue;
39///Response type for
40///com.atproto.temp.checkSignupQueue
41pub struct CheckSignupQueueResponse;
42impl jacquard_common::xrpc::XrpcResp for CheckSignupQueueResponse {
43 const NSID: &'static str = "com.atproto.temp.checkSignupQueue";
44 const ENCODING: &'static str = "application/json";
45 type Output<'de> = CheckSignupQueueOutput<'de>;
46 type Err<'de> = jacquard_common::xrpc::GenericError<'de>;
47}
48
49impl jacquard_common::xrpc::XrpcRequest for CheckSignupQueue {
50 const NSID: &'static str = "com.atproto.temp.checkSignupQueue";
51 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
52 type Response = CheckSignupQueueResponse;
53}
54
55///Endpoint type for
56///com.atproto.temp.checkSignupQueue
57pub struct CheckSignupQueueRequest;
58impl jacquard_common::xrpc::XrpcEndpoint for CheckSignupQueueRequest {
59 const PATH: &'static str = "/xrpc/com.atproto.temp.checkSignupQueue";
60 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
61 type Request<'de> = CheckSignupQueue;
62 type Response = CheckSignupQueueResponse;
63}