pub enum TzId {
Offset(i32),
Named(String),
}Expand description
A DateTime’s zone: a fixed UTC offset, or a named IANA timezone
(Europe/Stockholm) whose real offset varies by instant (DST) and is
resolved on demand, not stored – see PropertyValue::DateTime’s doc
comment.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TzId
impl<'de> Deserialize<'de> for TzId
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 StructuralPartialEq for TzId
Auto Trait Implementations§
impl Freeze for TzId
impl RefUnwindSafe for TzId
impl Send for TzId
impl Sync for TzId
impl Unpin for TzId
impl UnsafeUnpin for TzId
impl UnwindSafe for TzId
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