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<Vec<crate::types::Union<RecordEmbeddingRulesItem>>>,
13 pub post: String,
15}
16pub type Record = crate::types::Object<RecordData>;
17#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
19#[serde(rename_all = "camelCase")]
20pub struct DisableRuleData {}
21pub type DisableRule = crate::types::Object<DisableRuleData>;
22#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
23#[serde(tag = "$type")]
24pub enum RecordEmbeddingRulesItem {
25 #[serde(rename = "app.bsky.feed.postgate#disableRule")]
26 DisableRule(Box<DisableRule>),
27}