A better Rust ATProto crate
at lifetimes 1.0 kB view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: blue.2048.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 game; 9pub mod key; 10pub mod player; 11pub mod verification; 12 13///The sync status for a record used to help sync between your ATProto record and local record. 14#[jacquard_derive::lexicon] 15#[derive( 16 serde::Serialize, 17 serde::Deserialize, 18 Debug, 19 Clone, 20 PartialEq, 21 Eq, 22 jacquard_derive::IntoStatic 23)] 24#[serde(rename_all = "camelCase")] 25pub struct SyncStatus<'a> { 26 pub created_at: jacquard_common::types::string::Datetime, 27 ///A XXH3 hash of the record to tell if anything has changed 28 #[serde(borrow)] 29 pub hash: jacquard_common::CowStr<'a>, 30 ///A flag to know if it has been synced with the AT repo. Used mostly client side to filter what records need syncing 31 pub synced_with_at_repo: bool, 32 pub updated_at: jacquard_common::types::string::Datetime, 33}