jacquard_api/com_atproto/temp/
check_signup_queue.rs1#[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#[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;
39pub 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<'de> jacquard_common::xrpc::XrpcRequest<'de> 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
55pub 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}