Struct product_os_async_executor::format::OffsetFormat
source · pub struct OffsetFormat {
pub precision: OffsetPrecision,
pub colons: Colons,
pub allow_zulu: bool,
pub padding: Pad,
}
Expand description
Type for specifying the format of UTC offsets.
Fields§
§precision: OffsetPrecision
See OffsetPrecision
.
colons: Colons
Separator between hours, minutes and seconds.
allow_zulu: bool
Represent +00:00
as Z
.
padding: Pad
Pad the hour value to two digits.
Trait Implementations§
source§impl Clone for OffsetFormat
impl Clone for OffsetFormat
source§fn clone(&self) -> OffsetFormat
fn clone(&self) -> OffsetFormat
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 OffsetFormat
impl Debug for OffsetFormat
source§impl Hash for OffsetFormat
impl Hash for OffsetFormat
source§impl PartialEq for OffsetFormat
impl PartialEq for OffsetFormat
source§fn eq(&self, other: &OffsetFormat) -> bool
fn eq(&self, other: &OffsetFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OffsetFormat
impl Eq for OffsetFormat
impl StructuralPartialEq for OffsetFormat
Auto Trait Implementations§
impl Freeze for OffsetFormat
impl RefUnwindSafe for OffsetFormat
impl Send for OffsetFormat
impl Sync for OffsetFormat
impl Unpin for OffsetFormat
impl UnwindSafe for OffsetFormat
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