pub enum DecimalDatatype {
Decimal,
Integer(IntegerDatatype),
}Expand description
Decimal datatype variants.
Variants§
Decimal
Integer(IntegerDatatype)
Implementations§
Trait Implementations§
Source§impl Clone for DecimalDatatype
impl Clone for DecimalDatatype
Source§fn clone(&self) -> DecimalDatatype
fn clone(&self) -> DecimalDatatype
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 DecimalDatatype
impl Debug for DecimalDatatype
Source§impl From<DecimalDatatype> for Datatype
impl From<DecimalDatatype> for Datatype
Source§fn from(value: DecimalDatatype) -> Self
fn from(value: DecimalDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntDatatype> for DecimalDatatype
impl From<IntDatatype> for DecimalDatatype
Source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntegerDatatype> for DecimalDatatype
impl From<IntegerDatatype> for DecimalDatatype
Source§fn from(value: IntegerDatatype) -> Self
fn from(value: IntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<LongDatatype> for DecimalDatatype
impl From<LongDatatype> for DecimalDatatype
Source§fn from(value: LongDatatype) -> Self
fn from(value: LongDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NonNegativeIntegerDatatype> for DecimalDatatype
impl From<NonNegativeIntegerDatatype> for DecimalDatatype
Source§fn from(value: NonNegativeIntegerDatatype) -> Self
fn from(value: NonNegativeIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NonPositiveIntegerDatatype> for DecimalDatatype
impl From<NonPositiveIntegerDatatype> for DecimalDatatype
Source§fn from(value: NonPositiveIntegerDatatype) -> Self
fn from(value: NonPositiveIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<ShortDatatype> for DecimalDatatype
impl From<ShortDatatype> for DecimalDatatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedIntDatatype> for DecimalDatatype
impl From<UnsignedIntDatatype> for DecimalDatatype
Source§fn from(value: UnsignedIntDatatype) -> Self
fn from(value: UnsignedIntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedLongDatatype> for DecimalDatatype
impl From<UnsignedLongDatatype> for DecimalDatatype
Source§fn from(value: UnsignedLongDatatype) -> Self
fn from(value: UnsignedLongDatatype) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortDatatype> for DecimalDatatype
impl From<UnsignedShortDatatype> for DecimalDatatype
Source§fn from(value: UnsignedShortDatatype) -> Self
fn from(value: UnsignedShortDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for DecimalDatatype
impl Hash for DecimalDatatype
Source§impl Ord for DecimalDatatype
impl Ord for DecimalDatatype
Source§fn cmp(&self, other: &DecimalDatatype) -> Ordering
fn cmp(&self, other: &DecimalDatatype) -> 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 DecimalDatatype
impl PartialEq for DecimalDatatype
Source§impl PartialOrd for DecimalDatatype
impl PartialOrd for DecimalDatatype
Source§impl TryFrom<Datatype> for DecimalDatatype
impl TryFrom<Datatype> for DecimalDatatype
Source§impl TryFrom<DecimalDatatype> for IntDatatype
impl TryFrom<DecimalDatatype> for IntDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for IntegerDatatype
impl TryFrom<DecimalDatatype> for IntegerDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for LongDatatype
impl TryFrom<DecimalDatatype> for LongDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for NonNegativeIntegerDatatype
impl TryFrom<DecimalDatatype> for NonNegativeIntegerDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for NonPositiveIntegerDatatype
impl TryFrom<DecimalDatatype> for NonPositiveIntegerDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for ShortDatatype
impl TryFrom<DecimalDatatype> for ShortDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for UnsignedIntDatatype
impl TryFrom<DecimalDatatype> for UnsignedIntDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for UnsignedLongDatatype
impl TryFrom<DecimalDatatype> for UnsignedLongDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<DecimalDatatype> for UnsignedShortDatatype
impl TryFrom<DecimalDatatype> for UnsignedShortDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
impl Copy for DecimalDatatype
impl Eq for DecimalDatatype
impl StructuralPartialEq for DecimalDatatype
Auto Trait Implementations§
impl Freeze for DecimalDatatype
impl RefUnwindSafe for DecimalDatatype
impl Send for DecimalDatatype
impl Sync for DecimalDatatype
impl Unpin for DecimalDatatype
impl UnwindSafe for DecimalDatatype
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