pub struct UseStandardTimeFormat(pub bool);Expand description
Whether to use the standard time format (24-hour).
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Clone for UseStandardTimeFormat
impl Clone for UseStandardTimeFormat
Source§fn clone(&self) -> UseStandardTimeFormat
fn clone(&self) -> UseStandardTimeFormat
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 UseStandardTimeFormat
impl Debug for UseStandardTimeFormat
Source§impl<'de> Deserialize<'de> for UseStandardTimeFormat
impl<'de> Deserialize<'de> for UseStandardTimeFormat
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<UseStandardTimeFormat> for bool
impl From<UseStandardTimeFormat> for bool
Source§fn from(value: UseStandardTimeFormat) -> Self
fn from(value: UseStandardTimeFormat) -> Self
Converts to this type from the input type.
Source§impl From<bool> for UseStandardTimeFormat
impl From<bool> for UseStandardTimeFormat
Source§impl FromScalar<1> for UseStandardTimeFormat
impl FromScalar<1> for UseStandardTimeFormat
fn from_scalar(value: [u32; 1]) -> Self
Source§impl Hash for UseStandardTimeFormat
impl Hash for UseStandardTimeFormat
Source§impl PartialEq for UseStandardTimeFormat
impl PartialEq for UseStandardTimeFormat
Source§impl Serialize for UseStandardTimeFormat
impl Serialize for UseStandardTimeFormat
impl Copy for UseStandardTimeFormat
impl Eq for UseStandardTimeFormat
impl StructuralPartialEq for UseStandardTimeFormat
Auto Trait Implementations§
impl Freeze for UseStandardTimeFormat
impl RefUnwindSafe for UseStandardTimeFormat
impl Send for UseStandardTimeFormat
impl Sync for UseStandardTimeFormat
impl Unpin for UseStandardTimeFormat
impl UnwindSafe for UseStandardTimeFormat
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> FromScalar<2> for Twhere
T: FromScalar<1>,
impl<T> FromScalar<2> for Twhere
T: FromScalar<1>,
fn from_scalar(value: [u32; 2]) -> T
Source§impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
fn from_scalar(value: [u32; 3]) -> T
Source§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.