Enum ion_c_sys::timestamp::Mantissa [−][src]
pub enum Mantissa { Digits(u32), Fraction(BigDecimal), }
Expand description
The fractional part of a Fractional
TSPrecision
.
Variants
Digits(u32)
A kind of precision that uses digits from the nanoseconds field of the associated
DateTime
to represent the amount of mantissa.
This is required for precision of nanoseconds or lower.
Fraction(BigDecimal)
Specifies the mantissa precisely as a BigDecimal
in the range >= 0
and < 1
.
This should correspond to the nanoseconds field insofar as it is not truncated.
This is only used for precision of greater than nanoseconds.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Mantissa
impl UnwindSafe for Mantissa
Blanket Implementations
Mutably borrows from an owned value. Read more