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 duplicate 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
Source§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
Source§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 Freeze for NonPositiveIntegerValue
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