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 RefUnwindSafe for IsoFormat
impl Send for IsoFormat
impl Sync for IsoFormat
impl Unpin for IsoFormat
impl UnwindSafe for IsoFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more