Enum ckb_sdk::traits::QueryOrder
source · pub enum QueryOrder {
Desc,
Asc,
}Variants§
Trait Implementations§
source§impl Clone for QueryOrder
impl Clone for QueryOrder
source§fn clone(&self) -> QueryOrder
fn clone(&self) -> QueryOrder
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 QueryOrder
impl Debug for QueryOrder
source§impl Hash for QueryOrder
impl Hash for QueryOrder
source§impl PartialEq<QueryOrder> for QueryOrder
impl PartialEq<QueryOrder> for QueryOrder
source§fn eq(&self, other: &QueryOrder) -> bool
fn eq(&self, other: &QueryOrder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for QueryOrder
impl StructuralEq for QueryOrder
impl StructuralPartialEq for QueryOrder
Auto Trait Implementations§
impl RefUnwindSafe for QueryOrder
impl Send for QueryOrder
impl Sync for QueryOrder
impl Unpin for QueryOrder
impl UnwindSafe for QueryOrder
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.