Enum icu_datetime::time_zone::IsoFormat
source · pub enum IsoFormat {
Basic,
Extended,
UtcBasic,
UtcExtended,
}
Expand description
Determines which ISO-8601 format should be used to format a GmtOffset
.
Variants§
Basic
ISO-8601 Basic Format. Formats zero-offset numerically. e.g. +0500, +0000
Extended
ISO-8601 Extended Format. Formats zero-offset numerically. e.g. +05:00, +00:00
UtcBasic
ISO-8601 Basic Format. Formats zero-offset with the ISO-8601 UTC indicator: “Z” e.g. +0500, Z
UtcExtended
ISO-8601 Extended Format. Formats zero-offset with the ISO-8601 UTC indicator: “Z” e.g. +05:00, Z
Trait Implementations§
impl Copy for IsoFormat
impl StructuralPartialEq for IsoFormat
Auto Trait Implementations§
impl Freeze for IsoFormat
impl RefUnwindSafe for IsoFormat
impl Send for IsoFormat
impl Sync for IsoFormat
impl Unpin for IsoFormat
impl UnwindSafe for IsoFormat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
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 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>
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