[−][src]Struct mammut::entities::status::Status
A status from the instance.
Fields
id: String
The ID of the status.
uri: String
A Fediverse-unique resource ID.
url: Option<String>
URL to the status page (can be remote)
account: Account
The Account which posted the status.
in_reply_to_id: Option<String>
The ID of the status this status is replying to, if the status is a reply.
in_reply_to_account_id: Option<String>
The ID of the account this status is replying to, if the status is a reply.
reblog: Option<Box<Status>>
If this status is a reblogged Status of another User.
content: String
Body of the status; this will contain HTML (remote HTML already sanitized)
created_at: DateTime<Utc>
The time the status was created.
emojis: Vec<Emoji>
An array of Emoji
reblogs_count: u64
The number of reblogs for the status.
favourites_count: u64
The number of favourites for the status.
reblogged: Option<bool>
Whether the application client has reblogged the status.
favourited: Option<bool>
Whether the application client has favourited the status.
sensitive: bool
Whether media attachments should be hidden by default.
spoiler_text: String
If not empty, warning text that should be displayed before the actual content.
visibility: Visibility
The visibilty of the status.
media_attachments: Vec<Attachment>
An array of attachments.
mentions: Vec<Mention>
An array of mentions.
An array of tags.
application: Option<Application>
Name of application used to post status.
language: Option<String>
The detected language for the status, if detected.
pinned: Option<bool>
Whether this is the pinned status for the account that posted it.
Trait Implementations
impl Clone for Status
[src]
fn clone(&self) -> Status
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Status
[src]
impl<'de> Deserialize<'de> for Status
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Status
impl Send for Status
impl Sync for Status
impl UnwindSafe for Status
impl RefUnwindSafe for Status
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,