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