A better Rust ATProto crate
at main 1.3 kB view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: net.bnewbold.demo.nested.blah 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8///TODO: describe purpose of this schema 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 Blah<'a> { 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 #[serde(borrow)] 23 pub avatar: std::option::Option<jacquard_common::types::blob::Blob<'a>>, 24 pub created_at: jacquard_common::types::string::Datetime, 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 #[serde(borrow)] 27 pub description: std::option::Option<jacquard_common::CowStr<'a>>, 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 #[serde(borrow)] 30 pub description_facets: std::option::Option< 31 Vec<crate::app_bsky::richtext::facet::Facet<'a>>, 32 >, 33 ///TODO: title name of record; can not be empty 34 #[serde(borrow)] 35 pub name: jacquard_common::CowStr<'a>, 36} 37 38impl jacquard_common::types::collection::Collection for Blah<'_> { 39 const NSID: &'static str = "net.bnewbold.demo.nested.blah"; 40}