A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: buzz.bookhive.buzz 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8///Record containing a Bookhive comment. 9#[jacquard_derive::lexicon] 10#[derive( 11 serde::Serialize, 12 serde::Deserialize, 13 Debug, 14 Clone, 15 PartialEq, 16 Eq, 17 jacquard_derive::IntoStatic 18)] 19#[serde(rename_all = "camelCase")] 20pub struct Buzz<'a> { 21 #[serde(borrow)] 22 pub book: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 23 ///The content of the comment. 24 #[serde(borrow)] 25 pub comment: jacquard_common::CowStr<'a>, 26 ///Client-declared timestamp when this comment was originally created. 27 pub created_at: jacquard_common::types::string::Datetime, 28 #[serde(borrow)] 29 pub parent: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 30} 31 32impl jacquard_common::types::collection::Collection for Buzz<'_> { 33 const NSID: &'static str = "buzz.bookhive.buzz"; 34}