pub struct NonZeroU64(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for NonZeroU64
impl Clone for NonZeroU64
Source§fn clone(&self) -> NonZeroU64
fn clone(&self) -> NonZeroU64
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 NonZeroU64
impl Debug for NonZeroU64
Source§impl<'de> Deserialize<'de> for NonZeroU64
impl<'de> Deserialize<'de> for NonZeroU64
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NonZeroU64
impl Display for NonZeroU64
Source§impl Hash for NonZeroU64
impl Hash for NonZeroU64
Source§impl JsonSchema for NonZeroU64
impl JsonSchema for NonZeroU64
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Ord for NonZeroU64
impl Ord for NonZeroU64
Source§fn cmp(&self, other: &NonZeroU64) -> Ordering
fn cmp(&self, other: &NonZeroU64) -> Ordering
1.21.0 · 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 NonZeroU64
impl PartialEq for NonZeroU64
Source§impl PartialOrd for NonZeroU64
impl PartialOrd for NonZeroU64
Source§impl Serialize for NonZeroU64
impl Serialize for NonZeroU64
impl Copy for NonZeroU64
impl Eq for NonZeroU64
impl StructuralPartialEq for NonZeroU64
Auto Trait Implementations§
impl Freeze for NonZeroU64
impl RefUnwindSafe for NonZeroU64
impl Send for NonZeroU64
impl Sync for NonZeroU64
impl Unpin for NonZeroU64
impl UnwindSafe for NonZeroU64
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more