pub enum Direction {
Descending,
Ascending,
}
Expand description
Specifies direction in which the returned results are listed. Use ListRequest::order_by
to change it.
If nothing else is specified, it defaults to Direction::Ascending
Variants§
Descending
List results in descending order (largest to smallest)
Ascending
List results in ascending order (smallest to largest)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
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