A better Rust ATProto crate
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 bon::Builder 28)] 29#[serde(rename_all = "camelCase")] 30pub struct IdentityInfo<'a> { 31 #[serde(borrow)] 32 pub did: jacquard_common::types::string::Did<'a>, 33 /// The complete DID document for the identity. 34 #[serde(borrow)] 35 pub did_doc: jacquard_common::types::value::Data<'a>, 36 /// The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document. 37 #[serde(borrow)] 38 pub handle: jacquard_common::types::string::Handle<'a>, 39}