// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: blog.pckt.post // // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. #[jacquard_derive::lexicon] #[derive( serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct Post<'a> { #[serde(borrow)] pub blocks: PostRecordBlocks<'a>, #[serde(borrow)] pub blog: crate::com_atproto::repo::strong_ref::StrongRef<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub body_plain: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub cover: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub images: std::option::Option>>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub published_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub tags: std::option::Option>>, #[serde(borrow)] pub title: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub updated_at: std::option::Option, #[serde(borrow)] pub url: jacquard_common::types::string::Uri<'a>, } #[jacquard_derive::open_union] #[derive( serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic )] #[serde(tag = "$type")] #[serde(bound(deserialize = "'de: 'a"))] pub enum PostRecordBlocks<'a> {} impl jacquard_common::types::collection::Collection for Post<'_> { const NSID: &'static str = "blog.pckt.post"; }