summaryrefslogtreecommitdiffstats
path: root/src/entities/status.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/status.rs')
-rw-r--r--src/entities/status.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/entities/status.rs b/src/entities/status.rs
index 7243449..c65cb9c 100644
--- a/src/entities/status.rs
+++ b/src/entities/status.rs
@@ -2,11 +2,8 @@
use super::prelude::*;
use crate::{
- entities::{
- card::Card,
- poll::Poll,
- },
- status_builder::Visibility
+ entities::{card::Card, poll::Poll},
+ status_builder::Visibility,
};
use chrono::prelude::*;
use serde::{Deserialize, Serialize};
@@ -64,7 +61,10 @@ pub struct Status {
pub card: Option<Card>,
/// The detected language for the status, if detected.
pub language: Option<String>,
- /// Plain-text source of a status. Returned instead of content when status is deleted, so the user may redraft from the source text without the client having to reverse-engineer the original text from the HTML content.
+ /// Plain-text source of a status. Returned instead of content when status
+ /// is deleted, so the user may redraft from the source text without the
+ /// client having to reverse-engineer the original text from the HTML
+ /// content.
pub text: Option<String>,
/// Whether the application client has favourited the status.
pub favourited: Option<bool>,