Add `card` to `Status` entity

master
Paul Woolcock 5 years ago
parent 5055484de1
commit 583a1de7a2
  1. 3
      src/entities/status.rs

@ -2,6 +2,7 @@
use super::prelude::*;
use chrono::prelude::*;
use entities::card::Card;
use status_builder::Visibility;
/// A status from the instance.
@ -53,6 +54,8 @@ pub struct Status {
pub mentions: Vec<Mention>,
/// An array of tags.
pub tags: Vec<Tag>,
/// The associated card
pub card: Option<Card>,
/// Name of application used to post status.
pub application: Option<Application>,
/// The detected language for the status, if detected.

Loading…
Cancel
Save