Struct Status
pub struct Status {
pub is_synced: bool,
pub last_sync: Option<SystemTime>,
}Expand description
Time manager status.
Fields§
§is_synced: boolWhether the time is synchronized.
last_sync: Option<SystemTime>The last time synchronization.
Trait Implementations§
§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
§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 Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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