pub enum OrderBy<'b> {
Row(&'b str),
Expression(&'b str),
}
Expand description
Representing the way to format the ORDER BY clause of some queries
Variants§
Implementations§
Trait Implementations§
Source§impl<'b> Ord for OrderBy<'b>
impl<'b> Ord for OrderBy<'b>
1.21.0 · 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<'b> PartialOrd for OrderBy<'b>
impl<'b> PartialOrd for OrderBy<'b>
impl<'b> Eq for OrderBy<'b>
impl<'b> StructuralPartialEq for OrderBy<'b>
Auto Trait Implementations§
impl<'b> Freeze for OrderBy<'b>
impl<'b> RefUnwindSafe for OrderBy<'b>
impl<'b> Send for OrderBy<'b>
impl<'b> Sync for OrderBy<'b>
impl<'b> Unpin for OrderBy<'b>
impl<'b> UnwindSafe for OrderBy<'b>
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