Enum xsd_types::IntegerValue
source · pub enum IntegerValue {
Show 13 variants
Integer(Integer),
NonPositiveInteger(NonPositiveInteger),
NegativeInteger(NegativeInteger),
NonNegativeInteger(NonNegativeInteger),
PositiveInteger(PositiveInteger),
UnsignedLong(UnsignedLong),
UnsignedInt(UnsignedInt),
UnsignedShort(UnsignedShort),
UnsignedByte(UnsignedByte),
Long(Long),
Int(Int),
Short(Short),
Byte(Byte),
}Expand description
Any specialized Integer value.
Variants§
Integer(Integer)
NonPositiveInteger(NonPositiveInteger)
NegativeInteger(NegativeInteger)
NonNegativeInteger(NonNegativeInteger)
PositiveInteger(PositiveInteger)
UnsignedLong(UnsignedLong)
UnsignedInt(UnsignedInt)
UnsignedShort(UnsignedShort)
UnsignedByte(UnsignedByte)
Long(Long)
Int(Int)
Short(Short)
Byte(Byte)
Implementations§
source§impl IntegerValue
impl IntegerValue
pub fn datatype(&self) -> IntegerDatatype
source§impl IntegerValue
impl IntegerValue
pub fn as_ref(&self) -> IntegerValueRef<'_>
Trait Implementations§
source§impl Clone for IntegerValue
impl Clone for IntegerValue
source§fn clone(&self) -> IntegerValue
fn clone(&self) -> IntegerValue
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 IntegerValue
impl Debug for IntegerValue
source§impl Display for IntegerValue
impl Display for IntegerValue
source§impl From<IntValue> for IntegerValue
impl From<IntValue> for IntegerValue
source§impl From<IntegerValue> for DecimalValue
impl From<IntegerValue> for DecimalValue
source§fn from(value: IntegerValue) -> Self
fn from(value: IntegerValue) -> Self
Converts to this type from the input type.
source§impl From<IntegerValue> for Value
impl From<IntegerValue> for Value
source§fn from(value: IntegerValue) -> Self
fn from(value: IntegerValue) -> Self
Converts to this type from the input type.
source§impl From<LongValue> for IntegerValue
impl From<LongValue> for IntegerValue
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<NonPositiveIntegerValue> for IntegerValue
impl From<NonPositiveIntegerValue> for IntegerValue
source§fn from(value: NonPositiveIntegerValue) -> Self
fn from(value: NonPositiveIntegerValue) -> Self
Converts to this type from the input type.
source§impl From<ShortValue> for IntegerValue
impl From<ShortValue> for IntegerValue
source§fn from(value: ShortValue) -> Self
fn from(value: ShortValue) -> Self
Converts to this type from the input type.
source§impl From<UnsignedIntValue> for IntegerValue
impl From<UnsignedIntValue> for IntegerValue
source§fn from(value: UnsignedIntValue) -> Self
fn from(value: UnsignedIntValue) -> Self
Converts to this type from the input type.
source§impl From<UnsignedLongValue> for IntegerValue
impl From<UnsignedLongValue> for IntegerValue
source§fn from(value: UnsignedLongValue) -> Self
fn from(value: UnsignedLongValue) -> Self
Converts to this type from the input type.
source§impl From<UnsignedShortValue> for IntegerValue
impl From<UnsignedShortValue> for IntegerValue
source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
source§impl TryFrom<DecimalValue> for IntegerValue
impl TryFrom<DecimalValue> for IntegerValue
§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 IntValue
impl TryFrom<IntegerValue> for IntValue
§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<IntegerValue> for LongValue
impl TryFrom<IntegerValue> for LongValue
§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<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<IntegerValue> for NonPositiveIntegerValue
impl TryFrom<IntegerValue> for NonPositiveIntegerValue
§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<IntegerValue> for ShortValue
impl TryFrom<IntegerValue> for ShortValue
§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<IntegerValue> for UnsignedIntValue
impl TryFrom<IntegerValue> for UnsignedIntValue
§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<IntegerValue> for UnsignedLongValue
impl TryFrom<IntegerValue> for UnsignedLongValue
§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<IntegerValue> for UnsignedShortValue
impl TryFrom<IntegerValue> for UnsignedShortValue
§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<Value> for IntegerValue
impl TryFrom<Value> for IntegerValue
Auto Trait Implementations§
impl RefUnwindSafe for IntegerValue
impl Send for IntegerValue
impl Sync for IntegerValue
impl Unpin for IntegerValue
impl UnwindSafe for IntegerValue
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