pub struct Status<'a> {
    pub description: &'a str,
    pub details: Option<&'a str>,
    pub colour: StateColour,
    pub state: State,
    pub until: Option<DateTime<Utc>>,
}Fields§
§description: &'a str§details: Option<&'a str>§colour: StateColour§state: State§until: Option<DateTime<Utc>>Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for Status<'a>
 
impl<'de: 'a, 'a> Deserialize<'de> for Status<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Status<'a>
impl<'a> Send for Status<'a>
impl<'a> Sync for Status<'a>
impl<'a> Unpin for Status<'a>
impl<'a> UnwindSafe for Status<'a>
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