pub struct SortItem {
pub expression: Expr,
pub direction: Option<Node<SortDirection>>,
pub nulls: Option<Node<NullOrder>>,
pub span: Span,
}Expand description
One expression and its requested ordering.
Fields§
§expression: Expr§direction: Option<Node<SortDirection>>§nulls: Option<Node<NullOrder>>§span: SpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for SortItem
impl<'de> Deserialize<'de> for SortItem
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 Eq for SortItem
impl StructuralPartialEq for SortItem
Auto Trait Implementations§
impl Freeze for SortItem
impl RefUnwindSafe for SortItem
impl Send for SortItem
impl Sync for SortItem
impl Unpin for SortItem
impl UnsafeUnpin for SortItem
impl UnwindSafe for SortItem
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