pub struct ClockZone {
pub id: String,
pub offset_min: i32,
}Expand description
One concern timezone: an already-resolved offset, never a tz name — re-resolving names against a moving tz database would fork replayed history.
Fields§
§id: String§offset_min: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClockZone
impl<'de> Deserialize<'de> for ClockZone
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
impl Eq for ClockZone
impl StructuralPartialEq for ClockZone
Auto Trait Implementations§
impl Freeze for ClockZone
impl RefUnwindSafe for ClockZone
impl Send for ClockZone
impl Sync for ClockZone
impl Unpin for ClockZone
impl UnsafeUnpin for ClockZone
impl UnwindSafe for ClockZone
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