#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct Record {
#[serde(skip_serializing_if = "Option::is_none")]
pub allow: Option<Vec<RecordAllowItem>>,
pub created_at: crate::types::string::Datetime,
pub post: String,
}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct FollowingRule {}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ListRule {
pub list: String,
}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct MentionRule {}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(tag = "$type")]
pub enum RecordAllowItem {
#[serde(rename = "app.bsky.feed.threadgate#mentionRule")]
MentionRule(Box<MentionRule>),
#[serde(rename = "app.bsky.feed.threadgate#followingRule")]
FollowingRule(Box<FollowingRule>),
#[serde(rename = "app.bsky.feed.threadgate#listRule")]
ListRule(Box<ListRule>),
}