A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: app.ocho.auth.defs 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8pub mod at_proto_callback; 9pub mod authorize; 10pub mod github_callback; 11pub mod google_callback; 12pub mod request_email_update; 13pub mod update_email; 14pub mod update_handle; 15pub mod whoami; 16 17#[jacquard_derive::lexicon] 18#[derive( 19 serde::Serialize, 20 serde::Deserialize, 21 Debug, 22 Clone, 23 PartialEq, 24 Eq, 25 jacquard_derive::IntoStatic 26)] 27#[serde(rename_all = "camelCase")] 28pub struct AuthCallback<'a> { 29 #[serde(borrow)] 30 pub access_jwt: jacquard_common::CowStr<'a>, 31 #[serde(borrow)] 32 pub did: jacquard_common::types::string::Did<'a>, 33 #[serde(borrow)] 34 pub handle: jacquard_common::CowStr<'a>, 35 #[serde(borrow)] 36 pub refresh_jwt: jacquard_common::CowStr<'a>, 37}