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