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 · 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<'de> Deserialize<'de> for CreateCollationDefinition
impl<'de> Deserialize<'de> for CreateCollationDefinition
Source§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
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 · 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 PartialOrd for CreateCollationDefinition
impl PartialOrd for CreateCollationDefinition
Source§impl Visit for CreateCollationDefinition
impl Visit for CreateCollationDefinition
Source§impl VisitMut for CreateCollationDefinition
impl VisitMut for CreateCollationDefinition
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl 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