Enum xsd_types::DecimalDatatype
source · 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 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 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§fn eq(&self, other: &DecimalDatatype) -> bool
fn eq(&self, other: &DecimalDatatype) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DecimalDatatype
impl PartialOrd for DecimalDatatype
source§fn partial_cmp(&self, other: &DecimalDatatype) -> Option<Ordering>
fn partial_cmp(&self, other: &DecimalDatatype) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<Datatype> for DecimalDatatype
impl TryFrom<Datatype> for DecimalDatatype
source§impl TryFrom<DecimalDatatype> for IntDatatype
impl TryFrom<DecimalDatatype> for IntDatatype
§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
§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
§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
§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
§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
§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
§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
§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
§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