A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: sh.weaver.edit.root 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8///The starting point for edit history on a notebook. 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 Root<'a> { 21 #[serde(borrow)] 22 pub cid: jacquard_common::types::string::Cid<'a>, 23 #[serde(borrow)] 24 pub doc: crate::sh_weaver::edit::DocRef<'a>, 25 #[serde(borrow)] 26 pub snapshot: jacquard_common::types::blob::Blob<'a>, 27 #[serde(borrow)] 28 pub uri: jacquard_common::types::string::AtUri<'a>, 29} 30 31impl jacquard_common::types::collection::Collection for Root<'_> { 32 const NSID: &'static str = "sh.weaver.edit.root"; 33}