pub struct SortItem {
pub expr: Expr,
pub order: SortOrder,
pub span: Span,
}Expand description
A single sort key.
Fields§
§expr: Expr§order: SortOrder§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 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