pub struct Integer { /* private fields */ }
Expand description
An integer that can be represented by either an i64
or a u64
.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Integer
impl<'de> Deserialize<'de> for Integer
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 Ord for Integer
impl Ord for Integer
source§impl PartialEq<Integer> for Integer
impl PartialEq<Integer> for Integer
source§impl PartialOrd<Integer> for Integer
impl PartialOrd<Integer> for Integer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Integer
impl Eq for Integer
impl StructuralEq for Integer
impl StructuralPartialEq for Integer
Auto Trait Implementations§
impl RefUnwindSafe for Integer
impl Send for Integer
impl Sync for Integer
impl Unpin for Integer
impl UnwindSafe for Integer
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.