Rust AppView - highly experimental!
at experiments 15 lines 489 B view raw
1//! Threadgate Value Object - Reply restrictions for posts 2 3use serde::{Deserialize, Serialize}; 4 5/// Threadgate - Controls who can reply to a post 6/// This is a value object used for denormalized data, not a database table 7#[derive(Clone, Debug, Serialize, Deserialize)] 8pub struct Threadgate { 9 pub actor_id: i32, 10 pub rkey: i64, 11 pub cid: Vec<u8>, 12 pub allow: Option<crate::infrastructure::arrays::ThreadgateRuleArray>, 13 pub post_actor_id: i32, 14 pub post_rkey: i64, 15}