pub enum CreateCollationDefinition {
From(ObjectName),
Options(Vec<SqlOption>),
}Expand description
Definition forms supported by CREATE COLLATION.
Variants§
From(ObjectName)
Create from an existing collation.
CREATE COLLATION name FROM existing_collationOptions(Vec<SqlOption>)
Create with an option list.
CREATE COLLATION name (key = value, ...)Trait Implementations§
Source§impl Clone for CreateCollationDefinition
impl Clone for CreateCollationDefinition
Source§fn clone(&self) -> CreateCollationDefinition
fn clone(&self) -> CreateCollationDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateCollationDefinition
impl Debug for CreateCollationDefinition
Source§impl Hash for CreateCollationDefinition
impl Hash for CreateCollationDefinition
Source§impl Ord for CreateCollationDefinition
impl Ord for CreateCollationDefinition
Source§fn cmp(&self, other: &CreateCollationDefinition) -> Ordering
fn cmp(&self, other: &CreateCollationDefinition) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreateCollationDefinition
impl PartialEq for CreateCollationDefinition
Source§fn eq(&self, other: &CreateCollationDefinition) -> bool
fn eq(&self, other: &CreateCollationDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CreateCollationDefinition
impl PartialOrd for CreateCollationDefinition
impl Eq for CreateCollationDefinition
impl StructuralPartialEq for CreateCollationDefinition
Auto Trait Implementations§
impl Freeze for CreateCollationDefinition
impl RefUnwindSafe for CreateCollationDefinition
impl Send for CreateCollationDefinition
impl Sync for CreateCollationDefinition
impl Unpin for CreateCollationDefinition
impl UnsafeUnpin for CreateCollationDefinition
impl UnwindSafe for CreateCollationDefinition
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