Enum monitord::json::JsonFlatValue
source · pub enum JsonFlatValue {
U64(u64),
I32(i32),
U32(u32),
}Variants§
Trait Implementations§
source§impl Debug for JsonFlatValue
impl Debug for JsonFlatValue
source§impl Ord for JsonFlatValue
impl Ord for JsonFlatValue
source§fn cmp(&self, other: &JsonFlatValue) -> Ordering
fn cmp(&self, other: &JsonFlatValue) -> 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<JsonFlatValue> for JsonFlatValue
impl PartialEq<JsonFlatValue> for JsonFlatValue
source§fn eq(&self, other: &JsonFlatValue) -> bool
fn eq(&self, other: &JsonFlatValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<JsonFlatValue> for JsonFlatValue
impl PartialOrd<JsonFlatValue> for JsonFlatValue
source§fn partial_cmp(&self, other: &JsonFlatValue) -> Option<Ordering>
fn partial_cmp(&self, other: &JsonFlatValue) -> Option<Ordering>
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 Eq for JsonFlatValue
impl StructuralEq for JsonFlatValue
impl StructuralPartialEq for JsonFlatValue
Auto Trait Implementations§
impl RefUnwindSafe for JsonFlatValue
impl Send for JsonFlatValue
impl Sync for JsonFlatValue
impl Unpin for JsonFlatValue
impl UnwindSafe for JsonFlatValue
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<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.