pub struct AbsoluteFormat {
pub timezone: Timezone,
pub hour: HourFormat,
pub locale: Locale,
}Expand description
Wall-clock formatting knobs for ResetFormat::Absolute. Invalid
timezone/locale strings fall back to the default
(Timezone::SystemLocal + Locale::EnUs) with a structured warning
each.
Fields§
§timezone: Timezone§hour: HourFormat§locale: LocaleTrait Implementations§
Source§impl Clone for AbsoluteFormat
impl Clone for AbsoluteFormat
Source§fn clone(&self) -> AbsoluteFormat
fn clone(&self) -> AbsoluteFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AbsoluteFormat
impl Debug for AbsoluteFormat
Source§impl Default for AbsoluteFormat
impl Default for AbsoluteFormat
Source§fn default() -> AbsoluteFormat
fn default() -> AbsoluteFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for AbsoluteFormat
impl PartialEq for AbsoluteFormat
Source§fn eq(&self, other: &AbsoluteFormat) -> bool
fn eq(&self, other: &AbsoluteFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AbsoluteFormat
impl StructuralPartialEq for AbsoluteFormat
Auto Trait Implementations§
impl Freeze for AbsoluteFormat
impl RefUnwindSafe for AbsoluteFormat
impl Send for AbsoluteFormat
impl Sync for AbsoluteFormat
impl Unpin for AbsoluteFormat
impl UnsafeUnpin for AbsoluteFormat
impl UnwindSafe for AbsoluteFormat
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.