A better Rust ATProto crate
at oauth 1.1 kB view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: com.atproto.repo.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 apply_writes; 9pub mod create_record; 10pub mod delete_record; 11pub mod describe_repo; 12pub mod get_record; 13pub mod import_repo; 14pub mod list_missing_blobs; 15pub mod list_records; 16pub mod put_record; 17pub mod strong_ref; 18pub mod upload_blob; 19 20#[jacquard_derive::lexicon] 21#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 22#[serde(rename_all = "camelCase")] 23pub struct CommitMeta<'a> { 24 #[serde(borrow)] 25 pub cid: jacquard_common::types::string::Cid<'a>, 26 pub rev: jacquard_common::types::string::Tid, 27} 28 29impl jacquard_common::IntoStatic for CommitMeta<'_> { 30 type Output = CommitMeta<'static>; 31 fn into_static(self) -> Self::Output { 32 CommitMeta { 33 cid: self.cid.into_static(), 34 rev: self.rev.into_static(), 35 extra_data: self.extra_data.into_static(), 36 } 37 } 38}