pub enum WindowsTimezone {
Show 139 variants
DatelineStandardTime,
UtcMinus11,
AleutianStandardTime,
HawaiianStandardTime,
MarquesasStandardTime,
AlaskanStandardTime,
UtcMinus09,
PacificStandardTimeMexico,
UtcMinus08,
PacificStandardTime,
UsMountainStandardTime,
MountainStandardTimeMexico,
MountainStandardTime,
YukonStandardTime,
CentralAmericaStandardTime,
CentralStandardTime,
EasterIslandStandardTime,
CentralStandardTimeMexico,
CanadaCentralStandardTime,
SaPacificStandardTime,
EasternStandardTimeMexico,
EasternStandardTime,
HaitiStandardTime,
CubaStandardTime,
UsEasternStandardTime,
TurksAndCaicosStandardTime,
ParaguayStandardTime,
AtlanticStandardTime,
VenezuelaStandardTime,
CentralBrazilianStandardTime,
SaWesternStandardTime,
PacificSaStandardTime,
NewfoundlandStandardTime,
TocantinsStandardTime,
ESouthAmericaStandardTime,
SaEasternStandardTime,
ArgentinaStandardTime,
GreenlandStandardTime,
MontevideoStandardTime,
MagallanesStandardTime,
SaintPierreStandardTime,
BahiaStandardTime,
UtcMinus02,
AzoresStandardTime,
CapeVerdeStandardTime,
Utc,
GmtStandardTime,
GreenwichStandardTime,
SaoTomeStandardTime,
MoroccoStandardTime,
WEuropeStandardTime,
CentralEuropeStandardTime,
RomanceStandardTime,
CentralEuropeanStandardTime,
WCentralAfricaStandardTime,
JordanStandardTime,
GtbStandardTime,
MiddleEastStandardTime,
EgyptStandardTime,
EEuropeStandardTime,
SyriaStandardTime,
WestBankStandardTime,
SouthAfricaStandardTime,
FleStandardTime,
IsraelStandardTime,
SouthSudanStandardTime,
KaliningradStandardTime,
SudanStandardTime,
LibyaStandardTime,
NamibiaStandardTime,
ArabicStandardTime,
TurkeyStandardTime,
ArabStandardTime,
BelarusStandardTime,
RussianStandardTime,
EAfricaStandardTime,
IranStandardTime,
ArabianStandardTime,
AstrakhanStandardTime,
AzerbaijanStandardTime,
RussiaTimeZone3,
MauritiusStandardTime,
SaratovStandardTime,
GeorgianStandardTime,
VolgogradStandardTime,
CaucasusStandardTime,
AfghanistanStandardTime,
WestAsiaStandardTime,
EkaterinburgStandardTime,
PakistanStandardTime,
QyzylordaStandardTime,
IndiaStandardTime,
SriLankaStandardTime,
NepalStandardTime,
CentralAsiaStandardTime,
BangladeshStandardTime,
OmskStandardTime,
MyanmarStandardTime,
SeAsiaStandardTime,
AltaiStandardTime,
WMongoliaStandardTime,
NorthAsiaStandardTime,
NCentralAsiaStandardTime,
TomskStandardTime,
ChinaStandardTime,
NorthAsiaEastStandardTime,
SingaporeStandardTime,
WAustraliaStandardTime,
TaipeiStandardTime,
UlaanbaatarStandardTime,
AusCentralWStandardTime,
TransbaikalStandardTime,
TokyoStandardTime,
NorthKoreaStandardTime,
KoreaStandardTime,
YakutskStandardTime,
CenAustraliaStandardTime,
AusCentralStandardTime,
EAustraliaStandardTime,
AusEasternStandardTime,
WestPacificStandardTime,
TasmaniaStandardTime,
VladivostokStandardTime,
LordHoweStandardTime,
BougainvilleStandardTime,
RussiaTimeZone10,
MagadanStandardTime,
NorfolkStandardTime,
SakhalinStandardTime,
CentralPacificStandardTime,
RussiaTimeZone11,
NewZealandStandardTime,
UtcPlus12,
FijiStandardTime,
ChathamIslandsStandardTime,
UtcPlus13,
TongaStandardTime,
SamoaStandardTime,
LineIslandsStandardTime,
}
Variants§
DatelineStandardTime
(UTC-12:00) International Date Line West
UtcMinus11
(UTC-11:00) Coordinated Universal Time-11
AleutianStandardTime
(UTC-10:00) Aleutian Islands
HawaiianStandardTime
(UTC-10:00) Hawaii
MarquesasStandardTime
(UTC-09:30) Marquesas Islands
AlaskanStandardTime
(UTC-09:00) Alaska
UtcMinus09
(UTC-09:00) Coordinated Universal Time-09
PacificStandardTimeMexico
(UTC-08:00) Baja California
UtcMinus08
(UTC-08:00) Coordinated Universal Time-08
PacificStandardTime
(UTC-08:00) Pacific Time (US & Canada)
UsMountainStandardTime
(UTC-07:00) Arizona
MountainStandardTimeMexico
(UTC-07:00) Chihuahua, La Paz, Mazatlan
MountainStandardTime
(UTC-07:00) Mountain Time (US & Canada)
YukonStandardTime
(UTC-07:00) Yukon
CentralAmericaStandardTime
(UTC-06:00) Central America
CentralStandardTime
(UTC-06:00) Central Time (US & Canada)
EasterIslandStandardTime
(UTC-06:00) Easter Island
CentralStandardTimeMexico
(UTC-06:00) Guadalajara, Mexico City, Monterrey
CanadaCentralStandardTime
(UTC-06:00) Saskatchewan
SaPacificStandardTime
(UTC-05:00) Bogota, Lima, Quito, Rio Branco
EasternStandardTimeMexico
(UTC-05:00) Chetumal
EasternStandardTime
(UTC-05:00) Eastern Time (US & Canada)
HaitiStandardTime
(UTC-05:00) Haiti
CubaStandardTime
(UTC-05:00) Havana
UsEasternStandardTime
(UTC-05:00) Indiana (East)
TurksAndCaicosStandardTime
(UTC-05:00) Turks and Caicos
ParaguayStandardTime
(UTC-04:00) Asuncion
AtlanticStandardTime
(UTC-04:00) Atlantic Time (Canada)
VenezuelaStandardTime
(UTC-04:00) Caracas
CentralBrazilianStandardTime
(UTC-04:00) Cuiaba
SaWesternStandardTime
(UTC-04:00) Georgetown, La Paz, Manaus, San Juan
PacificSaStandardTime
(UTC-04:00) Santiago
NewfoundlandStandardTime
(UTC-03:30) Newfoundland
TocantinsStandardTime
(UTC-03:00) Araguaina
ESouthAmericaStandardTime
(UTC-03:00) Brasilia
SaEasternStandardTime
(UTC-03:00) Cayenne, Fortaleza
ArgentinaStandardTime
(UTC-03:00) City of Buenos Aires
GreenlandStandardTime
(UTC-03:00) Greenland
MontevideoStandardTime
(UTC-03:00) Montevideo
MagallanesStandardTime
(UTC-03:00) Punta Arenas
SaintPierreStandardTime
(UTC-03:00) Saint Pierre and Miquelon
BahiaStandardTime
(UTC-03:00) Salvador
UtcMinus02
(UTC-02:00) Coordinated Universal Time-02
AzoresStandardTime
(UTC-01:00) Azores
CapeVerdeStandardTime
(UTC-01:00) Cabo Verde Is.
Utc
(UTC) Coordinated Universal Time
GmtStandardTime
(UTC+00:00) Dublin, Edinburgh, Lisbon, London
GreenwichStandardTime
(UTC+00:00) Monrovia, Reykjavik
SaoTomeStandardTime
(UTC+00:00) Sao Tome
MoroccoStandardTime
(UTC+01:00) Casablanca
WEuropeStandardTime
(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
CentralEuropeStandardTime
(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
RomanceStandardTime
(UTC+01:00) Brussels, Copenhagen, Madrid, Paris
CentralEuropeanStandardTime
(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb
WCentralAfricaStandardTime
(UTC+01:00) West Central Africa
JordanStandardTime
(UTC+02:00) Amman
GtbStandardTime
(UTC+02:00) Athens, Bucharest
MiddleEastStandardTime
(UTC+02:00) Beirut
EgyptStandardTime
(UTC+02:00) Cairo
EEuropeStandardTime
(UTC+02:00) Chisinau
SyriaStandardTime
(UTC+02:00) Damascus
WestBankStandardTime
(UTC+02:00) Gaza, Hebron
SouthAfricaStandardTime
(UTC+02:00) Harare, Pretoria
FleStandardTime
(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
IsraelStandardTime
(UTC+02:00) Jerusalem
SouthSudanStandardTime
(UTC+02:00) Juba
KaliningradStandardTime
(UTC+02:00) Kaliningrad
SudanStandardTime
(UTC+02:00) Khartoum
LibyaStandardTime
(UTC+02:00) Tripoli
NamibiaStandardTime
(UTC+02:00) Windhoek
ArabicStandardTime
(UTC+03:00) Baghdad
TurkeyStandardTime
(UTC+03:00) Istanbul
ArabStandardTime
(UTC+03:00) Kuwait, Riyadh
BelarusStandardTime
(UTC+03:00) Minsk
RussianStandardTime
(UTC+03:00) Moscow, St. Petersburg
EAfricaStandardTime
(UTC+03:00) Nairobi
IranStandardTime
(UTC+03:30) Tehran
ArabianStandardTime
(UTC+04:00) Abu Dhabi, Muscat
AstrakhanStandardTime
(UTC+04:00) Astrakhan, Ulyanovsk
AzerbaijanStandardTime
(UTC+04:00) Baku
RussiaTimeZone3
(UTC+04:00) Izhevsk, Samara
MauritiusStandardTime
(UTC+04:00) Port Louis
SaratovStandardTime
(UTC+04:00) Saratov
GeorgianStandardTime
(UTC+04:00) Tbilisi
VolgogradStandardTime
(UTC+04:00) Volgograd
CaucasusStandardTime
(UTC+04:00) Yerevan
AfghanistanStandardTime
(UTC+04:30) Kabul
WestAsiaStandardTime
(UTC+05:00) Ashgabat, Tashkent
EkaterinburgStandardTime
(UTC+05:00) Ekaterinburg
PakistanStandardTime
(UTC+05:00) Islamabad, Karachi
QyzylordaStandardTime
(UTC+05:00) Qyzylorda
IndiaStandardTime
(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi
SriLankaStandardTime
(UTC+05:30) Sri Jayawardenepura
NepalStandardTime
(UTC+05:45) Kathmandu
CentralAsiaStandardTime
(UTC+06:00) Astana
BangladeshStandardTime
(UTC+06:00) Dhaka
OmskStandardTime
(UTC+06:00) Omsk
MyanmarStandardTime
(UTC+06:30) Yangon (Rangoon)
SeAsiaStandardTime
(UTC+07:00) Bangkok, Hanoi, Jakarta
AltaiStandardTime
(UTC+07:00) Barnaul, Gorno-Altaysk
WMongoliaStandardTime
(UTC+07:00) Hovd
NorthAsiaStandardTime
(UTC+07:00) Krasnoyarsk
NCentralAsiaStandardTime
(UTC+07:00) Novosibirsk
TomskStandardTime
(UTC+07:00) Tomsk
ChinaStandardTime
(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi
NorthAsiaEastStandardTime
(UTC+08:00) Irkutsk
SingaporeStandardTime
(UTC+08:00) Kuala Lumpur, Singapore
WAustraliaStandardTime
(UTC+08:00) Perth
TaipeiStandardTime
(UTC+08:00) Taipei
UlaanbaatarStandardTime
(UTC+08:00) Ulaanbaatar
AusCentralWStandardTime
(UTC+08:45) Eucla
TransbaikalStandardTime
(UTC+09:00) Chita
TokyoStandardTime
(UTC+09:00) Osaka, Sapporo, Tokyo
NorthKoreaStandardTime
(UTC+09:00) Pyongyang
KoreaStandardTime
(UTC+09:00) Seoul
YakutskStandardTime
(UTC+09:00) Yakutsk
CenAustraliaStandardTime
(UTC+09:30) Adelaide
AusCentralStandardTime
(UTC+09:30) Darwin
EAustraliaStandardTime
(UTC+10:00) Brisbane
AusEasternStandardTime
(UTC+10:00) Canberra, Melbourne, Sydney
WestPacificStandardTime
(UTC+10:00) Guam, Port Moresby
TasmaniaStandardTime
(UTC+10:00) Hobart
VladivostokStandardTime
(UTC+10:00) Vladivostok
LordHoweStandardTime
(UTC+10:30) Lord Howe Island
BougainvilleStandardTime
(UTC+11:00) Bougainville Island
RussiaTimeZone10
(UTC+11:00) Chokurdakh
MagadanStandardTime
(UTC+11:00) Magadan
NorfolkStandardTime
(UTC+11:00) Norfolk Island
SakhalinStandardTime
(UTC+11:00) Sakhalin
CentralPacificStandardTime
(UTC+11:00) Solomon Is., New Caledonia
RussiaTimeZone11
(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky
NewZealandStandardTime
(UTC+12:00) Auckland, Wellington
UtcPlus12
(UTC+12:00) Coordinated Universal Time+12
FijiStandardTime
(UTC+12:00) Fiji
ChathamIslandsStandardTime
(UTC+12:45) Chatham Islands
UtcPlus13
(UTC+13:00) Coordinated Universal Time+13
TongaStandardTime
(UTC+13:00) Nuku’alofa
SamoaStandardTime
(UTC+13:00) Samoa
LineIslandsStandardTime
(UTC+14:00) Kiritimati Island
Implementations§
Trait Implementations§
Source§impl Clone for WindowsTimezone
impl Clone for WindowsTimezone
Source§fn clone(&self) -> WindowsTimezone
fn clone(&self) -> WindowsTimezone
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for WindowsTimezone
impl Debug for WindowsTimezone
Source§impl Default for WindowsTimezone
impl Default for WindowsTimezone
Source§fn default() -> WindowsTimezone
fn default() -> WindowsTimezone
Source§impl<'de> Deserialize<'de> for WindowsTimezone
impl<'de> Deserialize<'de> for WindowsTimezone
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>,
Source§impl Display for WindowsTimezone
impl Display for WindowsTimezone
Source§impl<'q, DB: Database> Encode<'q, DB> for WindowsTimezone
impl<'q, DB: Database> Encode<'q, DB> for WindowsTimezone
Source§fn encode_by_ref(
&self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, BoxDynError>
fn size_hint(&self) -> usize
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
Source§impl From<WindowsTimezone> for Tz
impl From<WindowsTimezone> for Tz
Source§fn from(value: WindowsTimezone) -> Self
fn from(value: WindowsTimezone) -> Self
Source§impl FromStr for WindowsTimezone
impl FromStr for WindowsTimezone
Source§impl IntoEnumIterator for WindowsTimezone
impl IntoEnumIterator for WindowsTimezone
Source§impl JsonSchema for WindowsTimezone
impl JsonSchema for WindowsTimezone
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn json_schema(_gen: &mut SchemaGenerator) -> Schema
fn json_schema(_gen: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for WindowsTimezone
impl PartialEq for WindowsTimezone
Source§impl Serialize for WindowsTimezone
impl Serialize for WindowsTimezone
Source§impl TryFrom<Tz> for WindowsTimezone
impl TryFrom<Tz> for WindowsTimezone
impl Copy for WindowsTimezone
impl Eq for WindowsTimezone
impl StructuralPartialEq for WindowsTimezone
Auto Trait Implementations§
impl Freeze for WindowsTimezone
impl RefUnwindSafe for WindowsTimezone
impl Send for WindowsTimezone
impl Sync for WindowsTimezone
impl Unpin for WindowsTimezone
impl UnwindSafe for WindowsTimezone
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more