//! A module about contexts of statuses. use serde::{Deserialize, Serialize}; use super::status::Status; /// A context of a status returning a list of statuses it replied to and /// statuses replied to it. #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct Context { /// Statuses that were replied to. pub ancestors: Vec, /// Statuses that replied to this status. pub descendants: Vec, }