Enum mongodb::options::CollationCaseFirst [−][src]
#[non_exhaustive]
pub enum CollationCaseFirst {
Upper,
Lower,
Off,
}
Expand description
Setting that determines sort order of case differences during case tertiary level comparisons. For more info, see http://userguide.icu-project.org/collation/customization.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Uppercase sorts before lowercase.
Lowercase sorts before uppercase.
Default value. Similar to Lower
with slight differences.
See http://userguide.icu-project.org/collation/customization for details of differences.
Implementations
Returns this CollationCaseFirst
as a &'static str
.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for CollationCaseFirst
impl Send for CollationCaseFirst
impl Sync for CollationCaseFirst
impl Unpin for CollationCaseFirst
impl UnwindSafe for CollationCaseFirst
Blanket Implementations
Mutably borrows from an owned value. Read more