pub enum SortDirectionModel {
Ascending,
Descending,
}Expand description
How the sorting direction is evaluated. How it is expressed in a query is up to the persistence layer.
Variants§
Trait Implementations§
Source§impl Clone for SortDirectionModel
impl Clone for SortDirectionModel
Source§fn clone(&self) -> SortDirectionModel
fn clone(&self) -> SortDirectionModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SortDirectionModel
Source§impl Debug for SortDirectionModel
impl Debug for SortDirectionModel
Source§impl Default for SortDirectionModel
impl Default for SortDirectionModel
Source§fn default() -> SortDirectionModel
fn default() -> SortDirectionModel
Returns the “default value” for a type. Read more
impl Eq for SortDirectionModel
Source§impl From<SortDirectionDto> for SortDirectionModel
impl From<SortDirectionDto> for SortDirectionModel
Source§fn from(value: SortDirectionDto) -> Self
fn from(value: SortDirectionDto) -> Self
Converts to this type from the input type.
Source§impl From<SortDirectionModel> for SortDirectionDto
impl From<SortDirectionModel> for SortDirectionDto
Source§fn from(value: SortDirectionModel) -> Self
fn from(value: SortDirectionModel) -> Self
Converts to this type from the input type.
Source§impl Hash for SortDirectionModel
impl Hash for SortDirectionModel
Source§impl PartialEq for SortDirectionModel
impl PartialEq for SortDirectionModel
impl StructuralPartialEq for SortDirectionModel
Auto Trait Implementations§
impl Forget for SortDirectionModel
impl Freeze for SortDirectionModel
impl Move for SortDirectionModel
impl RefUnwindSafe for SortDirectionModel
impl Send for SortDirectionModel
impl Sync for SortDirectionModel
impl Unpin for SortDirectionModel
impl UnsafeUnpin for SortDirectionModel
impl UnwindSafe for SortDirectionModel
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.