#[repr(u8)]pub enum DecimalSecond {
Subsecond1 = 1,
Subsecond2 = 2,
Subsecond3 = 3,
Subsecond4 = 4,
Subsecond5 = 5,
Subsecond6 = 6,
Subsecond7 = 7,
Subsecond8 = 8,
Subsecond9 = 9,
}Expand description
A second field with fractional digits.
Variants§
Subsecond1 = 1
A second with 1 fractional digit: “1.0”
Subsecond2 = 2
A second with 2 fractional digits: “1.00”
Subsecond3 = 3
A second with 3 fractional digits: “1.000”
Subsecond4 = 4
A second with 4 fractional digits: “1.0000”
Subsecond5 = 5
A second with 5 fractional digits: “1.00000”
Subsecond6 = 6
A second with 6 fractional digits: “1.000000”
Subsecond7 = 7
A second with 7 fractional digits: “1.0000000”
Subsecond8 = 8
A second with 8 fractional digits: “1.00000000”
Subsecond9 = 9
A second with 9 fractional digits: “1.000000000”
Trait Implementations§
Source§impl AsULE for DecimalSecond
impl AsULE for DecimalSecond
Source§type ULE = DecimalSecondULE
type ULE = DecimalSecondULE
The ULE type corresponding to
Self. Read moreSource§fn to_unaligned(self) -> Self::ULE
fn to_unaligned(self) -> Self::ULE
Source§fn from_unaligned(other: Self::ULE) -> Self
fn from_unaligned(other: Self::ULE) -> Self
Source§impl Clone for DecimalSecond
impl Clone for DecimalSecond
Source§fn clone(&self) -> DecimalSecond
fn clone(&self) -> DecimalSecond
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 DecimalSecond
impl Debug for DecimalSecond
Source§impl<'de> Deserialize<'de> for DecimalSecond
impl<'de> Deserialize<'de> for DecimalSecond
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<DecimalSecond> for FieldSymbol
impl From<DecimalSecond> for FieldSymbol
Source§fn from(input: DecimalSecond) -> Self
fn from(input: DecimalSecond) -> Self
Converts to this type from the input type.
Source§impl Ord for DecimalSecond
impl Ord for DecimalSecond
Source§fn cmp(&self, other: &DecimalSecond) -> Ordering
fn cmp(&self, other: &DecimalSecond) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DecimalSecond
impl PartialEq for DecimalSecond
Source§impl PartialOrd for DecimalSecond
impl PartialOrd for DecimalSecond
Source§impl<'a> Yokeable<'a> for DecimalSecondwhere
Self: Sized,
impl<'a> Yokeable<'a> for DecimalSecondwhere
Self: Sized,
Source§type Output = DecimalSecond
type Output = DecimalSecond
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Source§impl<'zf> ZeroFrom<'zf, DecimalSecond> for DecimalSecond
impl<'zf> ZeroFrom<'zf, DecimalSecond> for DecimalSecond
Source§impl<'a> ZeroMapKV<'a> for DecimalSecond
impl<'a> ZeroMapKV<'a> for DecimalSecond
Source§type Container = ZeroVec<'a, DecimalSecond>
type Container = ZeroVec<'a, DecimalSecond>
The container that can be used with this type:
ZeroVec or VarZeroVec.type Slice = ZeroSlice<DecimalSecond>
Source§type GetType = DecimalSecondULE
type GetType = DecimalSecondULE
The type produced by
Container::get() Read moreSource§type OwnedType = DecimalSecond
type OwnedType = DecimalSecond
The type produced by
Container::replace() and Container::remove(),
also used during deserialization. If Self is human readable serialized,
deserializing to Self::OwnedType should produce the same value once
passed through Self::owned_as_self() Read moreimpl Copy for DecimalSecond
impl Eq for DecimalSecond
impl StructuralPartialEq for DecimalSecond
Auto Trait Implementations§
impl Freeze for DecimalSecond
impl RefUnwindSafe for DecimalSecond
impl Send for DecimalSecond
impl Sync for DecimalSecond
impl Unpin for DecimalSecond
impl UnwindSafe for DecimalSecond
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more