Struct rorm_sql::ordering::OrderByEntry
source · pub struct OrderByEntry<'until_build> {
pub ordering: Ordering,
pub table_name: Option<&'until_build str>,
pub column_name: &'until_build str,
}
Expand description
Representation of an entry in a ORDER BY expression
Fields
ordering: Ordering
Ordering to apply
table_name: Option<&'until_build str>
Optional table name
column_name: &'until_build str
Column to apply the ordering to
Trait Implementations
sourceimpl<'until_build> Clone for OrderByEntry<'until_build>
impl<'until_build> Clone for OrderByEntry<'until_build>
sourcefn clone(&self) -> OrderByEntry<'until_build>
fn clone(&self) -> OrderByEntry<'until_build>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'until_build> Debug for OrderByEntry<'until_build>
impl<'until_build> Debug for OrderByEntry<'until_build>
impl<'until_build> Copy for OrderByEntry<'until_build>
Auto Trait Implementations
impl<'until_build> RefUnwindSafe for OrderByEntry<'until_build>
impl<'until_build> Send for OrderByEntry<'until_build>
impl<'until_build> Sync for OrderByEntry<'until_build>
impl<'until_build> Unpin for OrderByEntry<'until_build>
impl<'until_build> UnwindSafe for OrderByEntry<'until_build>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more