pub struct TimeOffsets {
pub monotonic: Option<TimeOffset>,
pub boottime: Option<TimeOffset>,
}Expand description
Time offsets configuration.
Fields§
§monotonic: Option<TimeOffset>Monotonic clock offset.
boottime: Option<TimeOffset>Boottime clock offset.
Trait Implementations§
Source§impl Clone for TimeOffsets
impl Clone for TimeOffsets
Source§fn clone(&self) -> TimeOffsets
fn clone(&self) -> TimeOffsets
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 TimeOffsets
impl Debug for TimeOffsets
Source§impl Default for TimeOffsets
impl Default for TimeOffsets
Source§fn default() -> TimeOffsets
fn default() -> TimeOffsets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeOffsets
impl<'de> Deserialize<'de> for TimeOffsets
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 TimeOffsets
impl RefUnwindSafe for TimeOffsets
impl Send for TimeOffsets
impl Sync for TimeOffsets
impl Unpin for TimeOffsets
impl UnsafeUnpin for TimeOffsets
impl UnwindSafe for TimeOffsets
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