Enum mungos::options::CollationCaseFirst
source · [−]#[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.
Upper
Uppercase sorts before lowercase.
Lower
Lowercase sorts before uppercase.
Off
Default value. Similar to Lower
with slight differences.
See http://userguide.icu-project.org/collation/customization for details of differences.
Implementations
sourceimpl CollationCaseFirst
impl CollationCaseFirst
sourcepub fn as_str(&self) -> &'static str
pub fn as_str(&self) -> &'static str
Returns this CollationCaseFirst
as a &'static str
.
Trait Implementations
sourceimpl Clone for CollationCaseFirst
impl Clone for CollationCaseFirst
sourcefn clone(&self) -> CollationCaseFirst
fn clone(&self) -> CollationCaseFirst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CollationCaseFirst
impl Debug for CollationCaseFirst
sourceimpl<'de> Deserialize<'de> for CollationCaseFirst
impl<'de> Deserialize<'de> for CollationCaseFirst
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CollationCaseFirst, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CollationCaseFirst, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CollationCaseFirst
impl Display for CollationCaseFirst
sourceimpl FromStr for CollationCaseFirst
impl FromStr for CollationCaseFirst
sourceimpl Serialize for CollationCaseFirst
impl Serialize for CollationCaseFirst
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CollationCaseFirst
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more