A better Rust ATProto crate
at oauth 933 B view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: tools.ozone.signature.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 find_correlation; 9pub mod find_related_accounts; 10pub mod search_accounts; 11 12#[jacquard_derive::lexicon] 13#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 14#[serde(rename_all = "camelCase")] 15pub struct SigDetail<'a> { 16 #[serde(borrow)] 17 pub property: jacquard_common::CowStr<'a>, 18 #[serde(borrow)] 19 pub value: jacquard_common::CowStr<'a>, 20} 21 22impl jacquard_common::IntoStatic for SigDetail<'_> { 23 type Output = SigDetail<'static>; 24 fn into_static(self) -> Self::Output { 25 SigDetail { 26 property: self.property.into_static(), 27 value: self.value.into_static(), 28 extra_data: self.extra_data.into_static(), 29 } 30 } 31}