Enum WindowsTimezone

Source
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§

Source§

impl WindowsTimezone

Source

pub fn description(self) -> &'static str

Source

pub fn name(self) -> &'static str

Source

pub fn tzdb_id(self) -> &'static str

Trait Implementations§

Source§

impl Clone for WindowsTimezone

Source§

fn clone(&self) -> WindowsTimezone

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WindowsTimezone

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WindowsTimezone

Source§

fn default() -> WindowsTimezone

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for WindowsTimezone

Source§

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 Display for WindowsTimezone

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'q, DB: Database> Encode<'q, DB> for WindowsTimezone
where &'q str: Encode<'q, DB>,

Source§

fn encode_by_ref( &self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

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,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

impl From<WindowsTimezone> for Tz

Source§

fn from(value: WindowsTimezone) -> Self

Converts to this type from the input type.
Source§

impl FromStr for WindowsTimezone

Source§

type Err = ParseWindowsTimezoneError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl IntoEnumIterator for WindowsTimezone

Source§

type Iterator = WindowsTimezoneIter

Source§

fn iter() -> WindowsTimezoneIter

Source§

impl JsonSchema for WindowsTimezone

Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn json_schema(_gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

impl PartialEq for WindowsTimezone

Source§

fn eq(&self, other: &WindowsTimezone) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for WindowsTimezone

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Tz> for WindowsTimezone

Source§

type Error = FromChronoTzError

The type returned in the event of a conversion error.
Source§

fn try_from(value: Tz) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for WindowsTimezone

Source§

impl Eq for WindowsTimezone

Source§

impl StructuralPartialEq for WindowsTimezone

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,