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 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 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
§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
§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
§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
§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
§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 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