Enum wled_json_api_library::structures::cfg::cfg_if2::TimeZoneId
source · #[repr(u8)]pub enum TimeZoneId {
Show 30 variants
TZ_UTC = 0,
TZ_UK = 1,
TZ_EUROPE_CENTRAL = 2,
TZ_EUROPE_EASTERN = 3,
TZ_US_EASTERN = 4,
TZ_US_CENTRAL = 5,
TZ_US_MOUNTAIN = 6,
TZ_US_ARIZONA = 7,
TZ_US_PACIFIC = 8,
TZ_CHINA = 9,
TZ_JAPAN = 10,
TZ_AUSTRALIA_EASTERN = 11,
TZ_NEW_ZEALAND = 12,
TZ_NORTH_KOREA = 13,
TZ_INDIA = 14,
TZ_SASKACHEWAN = 15,
TZ_AUSTRALIA_NORTHERN = 16,
TZ_AUSTRALIA_SOUTHERN = 17,
TZ_HAWAII = 18,
TZ_NOVOSIBIRSK = 19,
TZ_ANCHORAGE = 20,
TZ_MX_CENTRAL = 21,
TZ_PAKISTAN = 22,
TZ_RSVD1 = 23,
TZ_RSVD2 = 24,
TZ_RSVD3 = 25,
TZ_RSVD4 = 26,
TZ_RSVD5 = 27,
TZ_RSVD6 = 28,
TZ_INIT = 255,
}Expand description
Time zone IDs
Variants§
TZ_UTC = 0
TZ_UK = 1
TZ_EUROPE_CENTRAL = 2
TZ_EUROPE_EASTERN = 3
TZ_US_EASTERN = 4
TZ_US_CENTRAL = 5
TZ_US_MOUNTAIN = 6
TZ_US_ARIZONA = 7
TZ_US_PACIFIC = 8
TZ_CHINA = 9
TZ_JAPAN = 10
TZ_AUSTRALIA_EASTERN = 11
TZ_NEW_ZEALAND = 12
TZ_NORTH_KOREA = 13
TZ_INDIA = 14
TZ_SASKACHEWAN = 15
TZ_AUSTRALIA_NORTHERN = 16
TZ_AUSTRALIA_SOUTHERN = 17
TZ_HAWAII = 18
TZ_NOVOSIBIRSK = 19
TZ_ANCHORAGE = 20
TZ_MX_CENTRAL = 21
TZ_PAKISTAN = 22
TZ_RSVD1 = 23
TZ_RSVD2 = 24
TZ_RSVD3 = 25
TZ_RSVD4 = 26
TZ_RSVD5 = 27
TZ_RSVD6 = 28
TZ_INIT = 255
Trait Implementations§
source§impl Clone for TimeZoneId
impl Clone for TimeZoneId
source§fn clone(&self) -> TimeZoneId
fn clone(&self) -> TimeZoneId
Returns a copy 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 TimeZoneId
impl Debug for TimeZoneId
source§impl<'de> Deserialize<'de> for TimeZoneId
impl<'de> Deserialize<'de> for TimeZoneId
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
source§impl PartialEq for TimeZoneId
impl PartialEq for TimeZoneId
source§fn eq(&self, other: &TimeZoneId) -> bool
fn eq(&self, other: &TimeZoneId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TimeZoneId
impl Serialize for TimeZoneId
impl StructuralPartialEq for TimeZoneId
Auto Trait Implementations§
impl RefUnwindSafe for TimeZoneId
impl Send for TimeZoneId
impl Sync for TimeZoneId
impl Unpin for TimeZoneId
impl UnwindSafe for TimeZoneId
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