pub struct OrderKey {
pub field: Expr,
pub dir: OrderDir,
}Expand description
Ordering key. The planner sorts lexicographically by the list of keys — first key dominant; ties broken by the next key.
Fields§
§field: ExprExpression evaluated per row to produce the sort key.
dir: OrderDirSort direction.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderKey
impl<'de> Deserialize<'de> for OrderKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for OrderKey
Auto Trait Implementations§
impl Freeze for OrderKey
impl RefUnwindSafe for OrderKey
impl Send for OrderKey
impl Sync for OrderKey
impl Unpin for OrderKey
impl UnsafeUnpin for OrderKey
impl UnwindSafe for OrderKey
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