pub enum DecimalValue {
Decimal(Decimal),
Integer(Integer),
Long(Long),
Int(Int),
Short(Short),
Byte(Byte),
}Expand description
Value representation for xsd:decimal datatypes.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DecimalValue
impl Clone for DecimalValue
Source§fn clone(&self) -> DecimalValue
fn clone(&self) -> DecimalValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecimalValue
impl Debug for DecimalValue
Source§impl Display for DecimalValue
impl Display for DecimalValue
impl Eq for DecimalValue
Source§impl<T> From<&T> for DecimalValue
impl<T> From<&T> for DecimalValue
Source§impl From<Decimal> for DecimalValue
impl From<Decimal> for DecimalValue
Source§impl From<Decimal> for DecimalValue
Available on crate feature rust_decimal only.
impl From<Decimal> for DecimalValue
Available on crate feature
rust_decimal only.Source§impl From<DecimalValue> for Type
impl From<DecimalValue> for Type
Source§fn from(input: DecimalValue) -> Self
fn from(input: DecimalValue) -> Self
Converts to this type from the input type.
Source§impl From<DecimalValue> for Value
impl From<DecimalValue> for Value
Source§fn from(input: DecimalValue) -> Self
fn from(input: DecimalValue) -> Self
Converts to this type from the input type.
Source§impl From<i8> for DecimalValue
impl From<i8> for DecimalValue
Source§impl From<i16> for DecimalValue
impl From<i16> for DecimalValue
Source§impl From<i32> for DecimalValue
impl From<i32> for DecimalValue
Source§impl From<i64> for DecimalValue
impl From<i64> for DecimalValue
Source§impl From<i128> for DecimalValue
impl From<i128> for DecimalValue
Source§impl From<isize> for DecimalValue
impl From<isize> for DecimalValue
Source§impl Hash for DecimalValue
impl Hash for DecimalValue
Source§impl Ord for DecimalValue
impl Ord for DecimalValue
Source§fn cmp(&self, other: &DecimalValue) -> Ordering
fn cmp(&self, other: &DecimalValue) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for DecimalValue
impl PartialEq for DecimalValue
Source§fn eq(&self, other: &DecimalValue) -> bool
fn eq(&self, other: &DecimalValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DecimalValue
impl PartialOrd for DecimalValue
impl StructuralPartialEq for DecimalValue
Source§impl TryFrom<f32> for DecimalValue
impl TryFrom<f32> for DecimalValue
Auto Trait Implementations§
impl Freeze for DecimalValue
impl RefUnwindSafe for DecimalValue
impl Send for DecimalValue
impl Sync for DecimalValue
impl Unpin for DecimalValue
impl UnsafeUnpin for DecimalValue
impl UnwindSafe for DecimalValue
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