atrium_api/app/bsky/feed/
postgate.rs1#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
4#[serde(rename_all = "camelCase")]
5pub struct RecordData {
6 pub created_at: crate::types::string::Datetime,
7 #[serde(skip_serializing_if = "core::option::Option::is_none")]
9 pub detached_embedding_uris: core::option::Option<Vec<String>>,
10 #[serde(skip_serializing_if = "core::option::Option::is_none")]
12 pub embedding_rules: core::option::Option<
13 Vec<crate::types::Union<RecordEmbeddingRulesItem>>,
14 >,
15 pub post: String,
17}
18pub type Record = crate::types::Object<RecordData>;
19#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
21#[serde(rename_all = "camelCase")]
22pub struct DisableRuleData {}
23pub type DisableRule = crate::types::Object<DisableRuleData>;
24#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
25#[serde(tag = "$type")]
26pub enum RecordEmbeddingRulesItem {
27 #[serde(rename = "app.bsky.feed.postgate#disableRule")]
28 DisableRule(Box<DisableRule>),
29}