Struct torn_api::common::StatusOwned
source · pub struct StatusOwned {
pub description: <&'static str as IntoOwned>::Owned,
pub details: <Option<&'static str> as IntoOwned>::Owned,
pub colour: StateColour,
pub state: State,
pub until: Option<DateTime<Utc>>,
}Fields§
§description: <&'static str as IntoOwned>::Owned§details: <Option<&'static str> as IntoOwned>::Owned§colour: StateColour§state: State§until: Option<DateTime<Utc>>Trait Implementations§
source§impl Clone for StatusOwned
impl Clone for StatusOwned
source§fn clone(&self) -> StatusOwned
fn clone(&self) -> StatusOwned
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for StatusOwned
impl Send for StatusOwned
impl Sync for StatusOwned
impl Unpin for StatusOwned
impl UnwindSafe for StatusOwned
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