pub enum SortOrder {
Asc,
Desc,
}Expand description
Sort orders
Variants§
Trait Implementations§
impl Copy for SortOrder
impl Eq for SortOrder
Source§impl Ord for SortOrder
impl Ord for SortOrder
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SortOrder
impl PartialOrd for SortOrder
impl StructuralPartialEq for SortOrder
Source§impl ToTokens for SortOrder
impl ToTokens for SortOrder
Source§fn to_tokens<S: TokenStream + ?Sized, C: ToSqlContext>(
&self,
s: &mut S,
_: &C,
) -> Result<(), S::Error>
fn to_tokens<S: TokenStream + ?Sized, C: ToSqlContext>( &self, s: &mut S, _: &C, ) -> Result<(), S::Error>
Send token(s) to the specified stream with context
fn displayer<'a, 'b, C: ToSqlContext>(
&'b self,
ctx: &'a C,
) -> SqlDisplayer<'a, 'b, C, Self>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for SortOrder
impl RefUnwindSafe for SortOrder
impl Send for SortOrder
impl Sync for SortOrder
impl Unpin for SortOrder
impl UnsafeUnpin for SortOrder
impl UnwindSafe for SortOrder
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