pub struct SortKeyOptions {
pub numeric: bool,
pub general_numeric: bool,
pub month: bool,
pub reverse: bool,
pub ignore_case: bool,
pub dictionary_order: bool,
pub ignore_leading_blanks: bool,
pub human_numeric: bool,
pub version: bool,
pub random: bool,
}Expand description
Options specific to a sort key
Fields§
§numeric: bool§general_numeric: bool§month: bool§reverse: bool§ignore_case: bool§dictionary_order: bool§ignore_leading_blanks: bool§human_numeric: bool§version: bool§random: boolTrait Implementations§
Source§impl Clone for SortKeyOptions
impl Clone for SortKeyOptions
Source§fn clone(&self) -> SortKeyOptions
fn clone(&self) -> SortKeyOptions
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 moreSource§impl Debug for SortKeyOptions
impl Debug for SortKeyOptions
Source§impl Default for SortKeyOptions
impl Default for SortKeyOptions
Source§fn default() -> SortKeyOptions
fn default() -> SortKeyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SortKeyOptions
impl RefUnwindSafe for SortKeyOptions
impl Send for SortKeyOptions
impl Sync for SortKeyOptions
impl Unpin for SortKeyOptions
impl UnwindSafe for SortKeyOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more