A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: place.stream.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 chat; 9pub mod graph; 10pub mod key; 11pub mod live; 12pub mod livestream; 13pub mod richtext; 14pub mod segment; 15pub mod server; 16 17#[jacquard_derive::lexicon] 18#[derive( 19 serde::Serialize, 20 serde::Deserialize, 21 Debug, 22 Clone, 23 PartialEq, 24 Eq, 25 jacquard_derive::IntoStatic, 26 bon::Builder 27)] 28#[serde(rename_all = "camelCase")] 29pub struct BlockView<'a> { 30 #[serde(borrow)] 31 pub blocker: crate::app_bsky::actor::ProfileViewBasic<'a>, 32 #[serde(borrow)] 33 pub cid: jacquard_common::types::string::Cid<'a>, 34 pub indexed_at: jacquard_common::types::string::Datetime, 35 #[serde(borrow)] 36 pub record: crate::app_bsky::graph::block::Block<'a>, 37 #[serde(borrow)] 38 pub uri: jacquard_common::types::string::AtUri<'a>, 39} 40 41#[jacquard_derive::lexicon] 42#[derive( 43 serde::Serialize, 44 serde::Deserialize, 45 Debug, 46 Clone, 47 PartialEq, 48 Eq, 49 jacquard_derive::IntoStatic, 50 Default 51)] 52#[serde(rename_all = "camelCase")] 53pub struct Rendition<'a> { 54 #[serde(borrow)] 55 pub name: jacquard_common::CowStr<'a>, 56} 57 58#[jacquard_derive::lexicon] 59#[derive( 60 serde::Serialize, 61 serde::Deserialize, 62 Debug, 63 Clone, 64 PartialEq, 65 Eq, 66 jacquard_derive::IntoStatic, 67 bon::Builder 68)] 69#[serde(rename_all = "camelCase")] 70pub struct Renditions<'a> { 71 #[serde(borrow)] 72 pub renditions: Vec<crate::place_stream::Rendition<'a>>, 73}