pub struct OrderPart(pub Box<str>, pub Dir);Expand description
One (field, direction) of an ordering (OrderPart, ast.ts:208). A wire
2-tuple — serializes as the JSON array ["field", "asc"].
Tuple Fields§
§0: Box<str>§1: DirImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderPart
impl<'de> Deserialize<'de> for OrderPart
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 OrderPart
Auto Trait Implementations§
impl Freeze for OrderPart
impl RefUnwindSafe for OrderPart
impl Send for OrderPart
impl Sync for OrderPart
impl Unpin for OrderPart
impl UnsafeUnpin for OrderPart
impl UnwindSafe for OrderPart
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