use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DisableRule {}
pub const TYPE: &str = "app.bsky.feed.postgate";
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Main {
#[serde(rename = "$type", default = "default_type")]
pub r#type: String,
pub created_at: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub detached_embedding_uris: Option<Vec<String>>,
#[serde(skip_serializing_if = "Option::is_none")]
pub embedding_rules: Option<Vec<serde_json::Value>>,
pub post: String,
}
fn default_type() -> String {
TYPE.to_string()
}