blob: 60a4ea28d1e7dd1e75684aabd18ba04a9873f4fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//! A module about contexts of statuses.
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, Deserialize, PartialEq)]
pub struct Context {
/// Statuses that were replied to.
pub ancestors: Vec<Status>,
/// Statuses that replied to this status.
pub descendants: Vec<Status>,
}
|