jacquard_api/app_bsky/graph/
block.rs

1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.bsky.graph.block
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8///Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.
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 Block<'a> {
21    pub created_at: jacquard_common::types::string::Datetime,
22    ///DID of the account to be blocked.
23    #[serde(borrow)]
24    pub subject: jacquard_common::types::string::Did<'a>,
25}
26
27impl jacquard_common::types::collection::Collection for Block<'_> {
28    const NSID: &'static str = "app.bsky.graph.block";
29}