A better Rust ATProto crate
at lifetimes 1.1 kB view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: com.atproto.identity.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 get_recommended_did_credentials; 9pub mod refresh_identity; 10pub mod request_plc_operation_signature; 11pub mod resolve_did; 12pub mod resolve_handle; 13pub mod resolve_identity; 14pub mod sign_plc_operation; 15pub mod submit_plc_operation; 16pub mod update_handle; 17 18#[jacquard_derive::lexicon] 19#[derive( 20 serde::Serialize, 21 serde::Deserialize, 22 Debug, 23 Clone, 24 PartialEq, 25 Eq, 26 jacquard_derive::IntoStatic 27)] 28#[serde(rename_all = "camelCase")] 29pub struct IdentityInfo<'a> { 30 #[serde(borrow)] 31 pub did: jacquard_common::types::string::Did<'a>, 32 ///The complete DID document for the identity. 33 #[serde(borrow)] 34 pub did_doc: jacquard_common::types::value::Data<'a>, 35 ///The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document. 36 #[serde(borrow)] 37 pub handle: jacquard_common::types::string::Handle<'a>, 38}