#[repr(u8)]pub enum HourFormat {
_12hr = 0,
_24hr = 1,
Useactivelocale = 255,
}Variants§
_12hr = 0
Time conveyed with a 12-hour clock
_24hr = 1
Time conveyed with a 24-hour clock
Useactivelocale = 255
Use active locale clock
Implementations§
Trait Implementations§
Source§impl Clone for HourFormat
impl Clone for HourFormat
Source§fn clone(&self) -> HourFormat
fn clone(&self) -> HourFormat
Returns a duplicate 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 HourFormat
impl Debug for HourFormat
Source§impl<'de> Deserialize<'de> for HourFormat
impl<'de> Deserialize<'de> for HourFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 From<HourFormat> for u8
impl From<HourFormat> for u8
Source§fn from(val: HourFormat) -> Self
fn from(val: HourFormat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HourFormat
impl PartialEq for HourFormat
Source§impl Serialize for HourFormat
impl Serialize for HourFormat
impl Copy for HourFormat
impl Eq for HourFormat
impl StructuralPartialEq for HourFormat
Auto Trait Implementations§
impl Freeze for HourFormat
impl RefUnwindSafe for HourFormat
impl Send for HourFormat
impl Sync for HourFormat
impl Unpin for HourFormat
impl UnwindSafe for HourFormat
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