pub enum CollationSource {
Explicit,
Schema,
Default,
}Expand description
Source of a collation for precedence resolution (§13.6).
When two operands in a comparison have different collation sources, the higher-precedence source wins.
Variants§
Explicit
Explicit COLLATE clause in the expression (highest precedence).
Schema
Column schema collation (CREATE TABLE ... COLLATE NOCASE).
Default
Default (BINARY) when no other source applies (lowest precedence).
Trait Implementations§
Source§impl Clone for CollationSource
impl Clone for CollationSource
Source§fn clone(&self) -> CollationSource
fn clone(&self) -> CollationSource
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 CollationSource
impl Debug for CollationSource
Source§impl PartialEq for CollationSource
impl PartialEq for CollationSource
impl Copy for CollationSource
impl Eq for CollationSource
impl StructuralPartialEq for CollationSource
Auto Trait Implementations§
impl Freeze for CollationSource
impl RefUnwindSafe for CollationSource
impl Send for CollationSource
impl Sync for CollationSource
impl Unpin for CollationSource
impl UnsafeUnpin for CollationSource
impl UnwindSafe for CollationSource
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