Struct torn_api::common::LastAction
source · pub struct LastAction {
pub timestamp: DateTime<Utc>,
pub status: OnlineStatus,
}
Fields§
§timestamp: DateTime<Utc>
§status: OnlineStatus
Trait Implementations§
source§impl Clone for LastAction
impl Clone for LastAction
source§fn clone(&self) -> LastAction
fn clone(&self) -> LastAction
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 moresource§impl Debug for LastAction
impl Debug for LastAction
source§impl<'de> Deserialize<'de> for LastAction
impl<'de> Deserialize<'de> for LastAction
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 Freeze for LastAction
impl RefUnwindSafe for LastAction
impl Send for LastAction
impl Sync for LastAction
impl Unpin for LastAction
impl UnwindSafe for LastAction
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