pub struct AggregateOrderBy {
pub expr: AggregateExpr,
pub direction: SortDirection,
}Fields§
§expr: AggregateExpr§direction: SortDirectionImplementations§
Source§impl AggregateOrderBy
impl AggregateOrderBy
pub fn new(expr: AggregateExpr, direction: SortDirection) -> AggregateOrderBy
pub fn asc(expr: AggregateExpr) -> AggregateOrderBy
pub fn desc(expr: AggregateExpr) -> AggregateOrderBy
Trait Implementations§
Source§impl Clone for AggregateOrderBy
impl Clone for AggregateOrderBy
Source§fn clone(&self) -> AggregateOrderBy
fn clone(&self) -> AggregateOrderBy
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 Debug for AggregateOrderBy
impl Debug for AggregateOrderBy
Source§impl PartialEq for AggregateOrderBy
impl PartialEq for AggregateOrderBy
Source§fn eq(&self, other: &AggregateOrderBy) -> bool
fn eq(&self, other: &AggregateOrderBy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AggregateOrderBy
Auto Trait Implementations§
impl Freeze for AggregateOrderBy
impl RefUnwindSafe for AggregateOrderBy
impl Send for AggregateOrderBy
impl Sync for AggregateOrderBy
impl Unpin for AggregateOrderBy
impl UnsafeUnpin for AggregateOrderBy
impl UnwindSafe for AggregateOrderBy
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