pub struct OrderChain<S> { /* private fields */ }Expand description
One sort key under construction.
MySQL’s ORDER BY takes a direction and — through the expression — a collation,
and nothing else: there is no NULLS FIRST/NULLS LAST and no
USING operator, so those methods do not exist here.
Implementations§
Source§impl<S> OrderChain<S>
impl<S> OrderChain<S>
Sourcepub fn asc(self) -> OrderChain<S>
pub fn asc(self) -> OrderChain<S>
ASC — the default, written out.
Sourcepub fn desc(self) -> OrderChain<S>
pub fn desc(self) -> OrderChain<S>
DESC.
Trait Implementations§
Source§impl<S: Clone> Clone for OrderChain<S>
impl<S: Clone> Clone for OrderChain<S>
Source§fn clone(&self) -> OrderChain<S>
fn clone(&self) -> OrderChain<S>
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 moreSource§impl<S: Debug> Debug for OrderChain<S>
impl<S: Debug> Debug for OrderChain<S>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for OrderChain<S>
impl<S> !UnwindSafe for OrderChain<S>
impl<S> Freeze for OrderChain<S>
impl<S> Send for OrderChain<S>where
S: Send,
impl<S> Sync for OrderChain<S>where
S: Sync,
impl<S> Unpin for OrderChain<S>where
S: Unpin,
impl<S> UnsafeUnpin for OrderChain<S>
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