pub struct SortCriterion {
pub field: String,
pub dir: SortDir,
pub numeric: bool,
}Expand description
A single sort criterion.
Fields§
§field: String§dir: SortDir§numeric: boolTrait Implementations§
Source§impl Clone for SortCriterion
impl Clone for SortCriterion
Source§fn clone(&self) -> SortCriterion
fn clone(&self) -> SortCriterion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SortCriterion
impl RefUnwindSafe for SortCriterion
impl Send for SortCriterion
impl Sync for SortCriterion
impl Unpin for SortCriterion
impl UnsafeUnpin for SortCriterion
impl UnwindSafe for SortCriterion
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