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