pub struct ResolvedCompoundOrderBy {
pub column_idx: usize,
pub direction: Option<SortDirection>,
pub collation: Option<String>,
pub nulls: Option<NullsOrder>,
}Expand description
A resolved ORDER BY term for a compound SELECT.
After resolution, each term is bound to a 0-based column index in the compound result set, with optional direction, collation, and nulls ordering.
Fields§
§column_idx: usize0-based index into the compound result columns.
direction: Option<SortDirection>ASC or DESC.
collation: Option<String>COLLATE override (e.g. ORDER BY a COLLATE NOCASE).
nulls: Option<NullsOrder>NULLS FIRST or NULLS LAST.
Trait Implementations§
Source§impl Clone for ResolvedCompoundOrderBy
impl Clone for ResolvedCompoundOrderBy
Source§fn clone(&self) -> ResolvedCompoundOrderBy
fn clone(&self) -> ResolvedCompoundOrderBy
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 ResolvedCompoundOrderBy
impl Debug for ResolvedCompoundOrderBy
impl Eq for ResolvedCompoundOrderBy
Source§impl PartialEq for ResolvedCompoundOrderBy
impl PartialEq for ResolvedCompoundOrderBy
Source§fn eq(&self, other: &ResolvedCompoundOrderBy) -> bool
fn eq(&self, other: &ResolvedCompoundOrderBy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedCompoundOrderBy
Auto Trait Implementations§
impl Freeze for ResolvedCompoundOrderBy
impl RefUnwindSafe for ResolvedCompoundOrderBy
impl Send for ResolvedCompoundOrderBy
impl Sync for ResolvedCompoundOrderBy
impl Unpin for ResolvedCompoundOrderBy
impl UnsafeUnpin for ResolvedCompoundOrderBy
impl UnwindSafe for ResolvedCompoundOrderBy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.