pub enum Order {
Asc,
Desc,
}Expand description
one of the two sorting directions
Variants§
Trait Implementations§
source§impl FromStr for Order
impl FromStr for Order
§type Err = ParseOrderError
type Err = ParseOrderError
The associated error which can be returned from parsing.
source§impl PartialEq<Order> for Order
impl PartialEq<Order> for Order
impl Copy for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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