pub struct SortSpec { /* private fields */ }Expand description
Sort specification parsed from --sort "col [asc|desc][,col2...]".
§Examples
use sheeter_engine::SortSpec;
let s = SortSpec::parse("age desc, name").unwrap();
assert_eq!(s.keys().len(), 2);Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SortSpec
impl RefUnwindSafe for SortSpec
impl Send for SortSpec
impl Sync for SortSpec
impl Unpin for SortSpec
impl UnsafeUnpin for SortSpec
impl UnwindSafe for SortSpec
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