A better Rust ATProto crate
at oauth 1.1 kB view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: app.bsky.graph.listblock 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8///Record representing a block relationship against an entire an entire list of accounts (actors). 9#[jacquard_derive::lexicon] 10#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)] 11#[serde(rename_all = "camelCase")] 12pub struct Listblock<'a> { 13 pub created_at: jacquard_common::types::string::Datetime, 14 ///Reference (AT-URI) to the mod list record. 15 #[serde(borrow)] 16 pub subject: jacquard_common::types::string::AtUri<'a>, 17} 18 19impl jacquard_common::types::collection::Collection for Listblock<'_> { 20 const NSID: &'static str = "app.bsky.graph.listblock"; 21} 22 23impl jacquard_common::IntoStatic for Listblock<'_> { 24 type Output = Listblock<'static>; 25 fn into_static(self) -> Self::Output { 26 Listblock { 27 created_at: self.created_at.into_static(), 28 subject: self.subject.into_static(), 29 extra_data: self.extra_data.into_static(), 30 } 31 } 32}