Add card to Status entity

This commit is contained in:
Paul Woolcock
2019-03-10 19:33:58 -04:00
parent 5055484de1
commit 583a1de7a2
+3
View File
@@ -2,6 +2,7 @@
use super::prelude::*; use super::prelude::*;
use chrono::prelude::*; use chrono::prelude::*;
use entities::card::Card;
use status_builder::Visibility; use status_builder::Visibility;
/// A status from the instance. /// A status from the instance.
@@ -53,6 +54,8 @@ pub struct Status {
pub mentions: Vec<Mention>, pub mentions: Vec<Mention>,
/// An array of tags. /// An array of tags.
pub tags: Vec<Tag>, pub tags: Vec<Tag>,
/// The associated card
pub card: Option<Card>,
/// Name of application used to post status. /// Name of application used to post status.
pub application: Option<Application>, pub application: Option<Application>,
/// The detected language for the status, if detected. /// The detected language for the status, if detected.