pub struct TimeZone {
pub id: String,
pub name: String,
pub utc_time_offset: i32,
}Expand description
Describes a time zone
Fields§
§id: StringUnique time zone identifier
name: StringTime zone name
utc_time_offset: i32Current UTC time offset for the time zone
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeZone
impl<'de> Deserialize<'de> for TimeZone
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 TimeZone
Auto Trait Implementations§
impl Freeze for TimeZone
impl RefUnwindSafe for TimeZone
impl Send for TimeZone
impl Sync for TimeZone
impl Unpin for TimeZone
impl UnwindSafe for TimeZone
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