// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: app.ocho.auth.githubCallback // // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. #[derive( serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder, jacquard_derive::IntoStatic )] #[builder(start_fn = new)] #[serde(rename_all = "camelCase")] pub struct GithubCallback<'a> { #[serde(borrow)] #[builder(into)] pub code: jacquard_common::CowStr<'a>, #[serde(borrow)] #[builder(into)] pub state: jacquard_common::CowStr<'a>, } ///Response type for ///app.ocho.auth.githubCallback pub struct GithubCallbackResponse; impl jacquard_common::xrpc::XrpcResp for GithubCallbackResponse { const NSID: &'static str = "app.ocho.auth.githubCallback"; const ENCODING: &'static str = "application/json"; type Output<'de> = (); type Err<'de> = jacquard_common::xrpc::GenericError<'de>; } impl<'a> jacquard_common::xrpc::XrpcRequest for GithubCallback<'a> { const NSID: &'static str = "app.ocho.auth.githubCallback"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Response = GithubCallbackResponse; } ///Endpoint type for ///app.ocho.auth.githubCallback pub struct GithubCallbackRequest; impl jacquard_common::xrpc::XrpcEndpoint for GithubCallbackRequest { const PATH: &'static str = "/xrpc/app.ocho.auth.githubCallback"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request<'de> = GithubCallback<'de>; type Response = GithubCallbackResponse; }