pub enum TasksOrderBy {
IdAsc,
IdDesc,
CreatedAsc,
CreatedDesc,
UpdatedAsc,
UpdatedDesc,
}Expand description
Re-export of the tasks-module OrderBy enum. Aliased so the
memories variant can coexist in this flat namespace.
Ordering for query results.
Variants§
IdAsc
By id, ascending.
IdDesc
By id, descending.
CreatedAsc
By created_ns, ascending (oldest first).
CreatedDesc
By created_ns, descending (newest first).
UpdatedAsc
By updated_ns, ascending.
UpdatedDesc
By updated_ns, descending.
Trait Implementations§
impl Copy for OrderBy
impl Eq for OrderBy
impl StructuralPartialEq for OrderBy
Auto Trait Implementations§
impl Freeze for OrderBy
impl RefUnwindSafe for OrderBy
impl Send for OrderBy
impl Sync for OrderBy
impl Unpin for OrderBy
impl UnsafeUnpin for OrderBy
impl UnwindSafe for OrderBy
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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.