pub enum NonNegativeIntegerValue {
NonNegativeInteger(NonNegativeInteger),
PositiveInteger(PositiveInteger),
UnsignedLong(UnsignedLong),
UnsignedInt(UnsignedInt),
UnsignedShort(UnsignedShort),
UnsignedByte(UnsignedByte),
}Expand description
Any specialized NonNegativeInteger value.
Variants§
NonNegativeInteger(NonNegativeInteger)
PositiveInteger(PositiveInteger)
UnsignedLong(UnsignedLong)
UnsignedInt(UnsignedInt)
UnsignedShort(UnsignedShort)
UnsignedByte(UnsignedByte)
Implementations§
Source§impl NonNegativeIntegerValue
impl NonNegativeIntegerValue
pub fn datatype(&self) -> NonNegativeIntegerDatatype
Source§impl NonNegativeIntegerValue
impl NonNegativeIntegerValue
pub fn as_ref(&self) -> NonNegativeIntegerValueRef<'_>
Trait Implementations§
Source§impl Clone for NonNegativeIntegerValue
impl Clone for NonNegativeIntegerValue
Source§fn clone(&self) -> NonNegativeIntegerValue
fn clone(&self) -> NonNegativeIntegerValue
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 NonNegativeIntegerValue
impl Debug for NonNegativeIntegerValue
Source§impl Display for NonNegativeIntegerValue
impl Display for NonNegativeIntegerValue
Source§impl From<NonNegativeIntegerValue> for DecimalValue
impl From<NonNegativeIntegerValue> for DecimalValue
Source§fn from(value: NonNegativeIntegerValue) -> Self
fn from(value: NonNegativeIntegerValue) -> Self
Converts to this type from the input type.
Source§impl From<NonNegativeIntegerValue> for IntegerValue
impl From<NonNegativeIntegerValue> for IntegerValue
Source§fn from(value: NonNegativeIntegerValue) -> Self
fn from(value: NonNegativeIntegerValue) -> Self
Converts to this type from the input type.
Source§impl From<NonNegativeIntegerValue> for Value
impl From<NonNegativeIntegerValue> for Value
Source§fn from(value: NonNegativeIntegerValue) -> Self
fn from(value: NonNegativeIntegerValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedIntValue> for NonNegativeIntegerValue
impl From<UnsignedIntValue> for NonNegativeIntegerValue
Source§fn from(value: UnsignedIntValue) -> Self
fn from(value: UnsignedIntValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedLongValue> for NonNegativeIntegerValue
impl From<UnsignedLongValue> for NonNegativeIntegerValue
Source§fn from(value: UnsignedLongValue) -> Self
fn from(value: UnsignedLongValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortValue> for NonNegativeIntegerValue
impl From<UnsignedShortValue> for NonNegativeIntegerValue
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DecimalValue> for NonNegativeIntegerValue
impl TryFrom<DecimalValue> for NonNegativeIntegerValue
Source§type Error = DecimalValue
type Error = DecimalValue
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalValue) -> Result<Self, DecimalValue>
fn try_from(value: DecimalValue) -> Result<Self, DecimalValue>
Performs the conversion.
Source§impl TryFrom<IntegerValue> for NonNegativeIntegerValue
impl TryFrom<IntegerValue> for NonNegativeIntegerValue
Source§type Error = IntegerValue
type Error = IntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerValue) -> Result<Self, IntegerValue>
fn try_from(value: IntegerValue) -> Result<Self, IntegerValue>
Performs the conversion.
Source§impl TryFrom<NonNegativeIntegerValue> for UnsignedIntValue
impl TryFrom<NonNegativeIntegerValue> for UnsignedIntValue
Source§type Error = NonNegativeIntegerValue
type Error = NonNegativeIntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(
value: NonNegativeIntegerValue,
) -> Result<Self, NonNegativeIntegerValue>
fn try_from( value: NonNegativeIntegerValue, ) -> Result<Self, NonNegativeIntegerValue>
Performs the conversion.
Source§impl TryFrom<NonNegativeIntegerValue> for UnsignedLongValue
impl TryFrom<NonNegativeIntegerValue> for UnsignedLongValue
Source§type Error = NonNegativeIntegerValue
type Error = NonNegativeIntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(
value: NonNegativeIntegerValue,
) -> Result<Self, NonNegativeIntegerValue>
fn try_from( value: NonNegativeIntegerValue, ) -> Result<Self, NonNegativeIntegerValue>
Performs the conversion.
Source§impl TryFrom<NonNegativeIntegerValue> for UnsignedShortValue
impl TryFrom<NonNegativeIntegerValue> for UnsignedShortValue
Source§type Error = NonNegativeIntegerValue
type Error = NonNegativeIntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(
value: NonNegativeIntegerValue,
) -> Result<Self, NonNegativeIntegerValue>
fn try_from( value: NonNegativeIntegerValue, ) -> Result<Self, NonNegativeIntegerValue>
Performs the conversion.
Source§impl TryFrom<Value> for NonNegativeIntegerValue
impl TryFrom<Value> for NonNegativeIntegerValue
Auto Trait Implementations§
impl Freeze for NonNegativeIntegerValue
impl RefUnwindSafe for NonNegativeIntegerValue
impl Send for NonNegativeIntegerValue
impl Sync for NonNegativeIntegerValue
impl Unpin for NonNegativeIntegerValue
impl UnwindSafe for NonNegativeIntegerValue
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