pub struct NonnegativeInteger(pub u64);Expand description
nonnegative integer number
JSON schema
{
"description": "nonnegative integer number",
"type": "integer",
"minimum": 0.0
}Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for NonnegativeInteger
impl Clone for NonnegativeInteger
Source§fn clone(&self) -> NonnegativeInteger
fn clone(&self) -> NonnegativeInteger
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonnegativeInteger
impl Debug for NonnegativeInteger
Source§impl Deref for NonnegativeInteger
impl Deref for NonnegativeInteger
Source§impl<'de> Deserialize<'de> for NonnegativeInteger
impl<'de> Deserialize<'de> for NonnegativeInteger
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NonnegativeInteger
impl Display for NonnegativeInteger
Source§impl From<&NonnegativeInteger> for NonnegativeInteger
impl From<&NonnegativeInteger> for NonnegativeInteger
Source§fn from(value: &NonnegativeInteger) -> Self
fn from(value: &NonnegativeInteger) -> Self
Converts to this type from the input type.
Source§impl From<NonnegativeInteger> for CtmNetworkShuntItemNumStepsUb
impl From<NonnegativeInteger> for CtmNetworkShuntItemNumStepsUb
Source§fn from(value: NonnegativeInteger) -> Self
fn from(value: NonnegativeInteger) -> Self
Converts to this type from the input type.
Source§impl From<NonnegativeInteger> for CtmTemporalBoundaryShuntItemNumSteps
impl From<NonnegativeInteger> for CtmTemporalBoundaryShuntItemNumSteps
Source§fn from(value: NonnegativeInteger) -> Self
fn from(value: NonnegativeInteger) -> Self
Converts to this type from the input type.
Source§impl From<NonnegativeInteger> for u64
impl From<NonnegativeInteger> for u64
Source§fn from(value: NonnegativeInteger) -> Self
fn from(value: NonnegativeInteger) -> Self
Converts to this type from the input type.
Source§impl From<u64> for NonnegativeInteger
impl From<u64> for NonnegativeInteger
Source§impl FromStr for NonnegativeInteger
impl FromStr for NonnegativeInteger
Source§impl Serialize for NonnegativeInteger
impl Serialize for NonnegativeInteger
Source§impl TryFrom<&String> for NonnegativeInteger
impl TryFrom<&String> for NonnegativeInteger
Source§impl TryFrom<&str> for NonnegativeInteger
impl TryFrom<&str> for NonnegativeInteger
Auto Trait Implementations§
impl Freeze for NonnegativeInteger
impl RefUnwindSafe for NonnegativeInteger
impl Send for NonnegativeInteger
impl Sync for NonnegativeInteger
impl Unpin for NonnegativeInteger
impl UnwindSafe for NonnegativeInteger
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)