pub struct StatusDetails {
pub param_self: Option<String>,
pub description: Option<String>,
pub icon_url: Option<String>,
pub name: Option<String>,
pub id: Option<String>,
pub status_category: Option<StatusCategory>,
}
Expand description
StatusDetails : A status.
Fields§
§param_self: Option<String>
The URL of the status.
description: Option<String>
The description of the status.
icon_url: Option<String>
The URL of the icon used to represent the status.
name: Option<String>
The name of the status.
id: Option<String>
The ID of the status.
status_category: Option<StatusCategory>
The category assigned to the status.
Implementations§
Source§impl StatusDetails
impl StatusDetails
Sourcepub fn new() -> StatusDetails
pub fn new() -> StatusDetails
A status.
Trait Implementations§
Source§impl Clone for StatusDetails
impl Clone for StatusDetails
Source§fn clone(&self) -> StatusDetails
fn clone(&self) -> StatusDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StatusDetails
impl Debug for StatusDetails
Source§impl Default for StatusDetails
impl Default for StatusDetails
Source§fn default() -> StatusDetails
fn default() -> StatusDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusDetails
impl<'de> Deserialize<'de> for StatusDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatusDetails
impl PartialEq for StatusDetails
Source§impl Serialize for StatusDetails
impl Serialize for StatusDetails
impl StructuralPartialEq for StatusDetails
Auto Trait Implementations§
impl Freeze for StatusDetails
impl RefUnwindSafe for StatusDetails
impl Send for StatusDetails
impl Sync for StatusDetails
impl Unpin for StatusDetails
impl UnwindSafe for StatusDetails
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more