pub enum Sort {
Oldest,
Newest,
}Variants§
Trait Implementations§
source§impl PartialEq<Sort> for Sort
impl PartialEq<Sort> for Sort
source§impl ValueEnum for Sort
impl ValueEnum for Sort
source§fn value_variants<'a>() -> &'a [Self] ⓘ
fn value_variants<'a>() -> &'a [Self] ⓘ
All possible argument values, in display order.
source§fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
The canonical argument value. Read more
impl Copy for Sort
impl Eq for Sort
impl StructuralEq for Sort
impl StructuralPartialEq for Sort
Auto Trait Implementations§
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
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.