pub enum NonPositiveIntegerValue {
NonPositiveInteger(NonPositiveInteger),
NegativeInteger(NegativeInteger),
}Expand description
Any specialized NonPositiveInteger value.
Variants§
NonPositiveInteger(NonPositiveInteger)
NegativeInteger(NegativeInteger)
Implementations§
source§impl NonPositiveIntegerValue
impl NonPositiveIntegerValue
pub fn datatype(&self) -> NonPositiveIntegerDatatype
source§impl NonPositiveIntegerValue
impl NonPositiveIntegerValue
pub fn as_ref(&self) -> NonPositiveIntegerValueRef<'_>
Trait Implementations§
source§impl Clone for NonPositiveIntegerValue
impl Clone for NonPositiveIntegerValue
source§fn clone(&self) -> NonPositiveIntegerValue
fn clone(&self) -> NonPositiveIntegerValue
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 NonPositiveIntegerValue
impl Debug for NonPositiveIntegerValue
source§impl Display for NonPositiveIntegerValue
impl Display for NonPositiveIntegerValue
source§impl From<NonPositiveIntegerValue> for DecimalValue
impl From<NonPositiveIntegerValue> for DecimalValue
source§fn from(value: NonPositiveIntegerValue) -> Self
fn from(value: NonPositiveIntegerValue) -> 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<NonPositiveIntegerValue> for Value
impl From<NonPositiveIntegerValue> for Value
source§fn from(value: NonPositiveIntegerValue) -> Self
fn from(value: NonPositiveIntegerValue) -> Self
Converts to this type from the input type.
source§impl TryFrom<DecimalValue> for NonPositiveIntegerValue
impl TryFrom<DecimalValue> for NonPositiveIntegerValue
§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 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<Value> for NonPositiveIntegerValue
impl TryFrom<Value> for NonPositiveIntegerValue
Auto Trait Implementations§
impl RefUnwindSafe for NonPositiveIntegerValue
impl Send for NonPositiveIntegerValue
impl Sync for NonPositiveIntegerValue
impl Unpin for NonPositiveIntegerValue
impl UnwindSafe for NonPositiveIntegerValue
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