pub enum SortValue {
Null,
Bool(bool),
Integer(i64),
Float(OrderedFloat),
String(String),
}Expand description
Comparable sort value extracted from JSON
Variants§
Trait Implementations§
Source§impl Ord for SortValue
impl Ord for SortValue
Source§impl PartialOrd for SortValue
impl PartialOrd for SortValue
impl Eq for SortValue
impl StructuralPartialEq for SortValue
Auto Trait Implementations§
impl Freeze for SortValue
impl RefUnwindSafe for SortValue
impl Send for SortValue
impl Sync for SortValue
impl Unpin for SortValue
impl UnwindSafe for SortValue
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.