pub struct CreateCollation {
pub if_not_exists: bool,
pub name: ObjectName,
pub definition: CreateCollationDefinition,
}Expand description
CREATE COLLATION statement. Note: this is a PostgreSQL-specific statement.
Fields§
§if_not_exists: boolWhether IF NOT EXISTS was specified.
name: ObjectNameName of the collation being created.
definition: CreateCollationDefinitionSource definition for the collation.
Trait Implementations§
Source§impl Clone for CreateCollation
impl Clone for CreateCollation
Source§fn clone(&self) -> CreateCollation
fn clone(&self) -> CreateCollation
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 CreateCollation
impl Debug for CreateCollation
Source§impl<'de> Deserialize<'de> for CreateCollation
impl<'de> Deserialize<'de> for CreateCollation
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 Display for CreateCollation
impl Display for CreateCollation
Source§impl From<CreateCollation> for Statement
impl From<CreateCollation> for Statement
Source§fn from(c: CreateCollation) -> Self
fn from(c: CreateCollation) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateCollation
impl Hash for CreateCollation
Source§impl Ord for CreateCollation
impl Ord for CreateCollation
Source§fn cmp(&self, other: &CreateCollation) -> Ordering
fn cmp(&self, other: &CreateCollation) -> 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 PartialEq for CreateCollation
impl PartialEq for CreateCollation
Source§impl PartialOrd for CreateCollation
impl PartialOrd for CreateCollation
Source§impl Serialize for CreateCollation
impl Serialize for CreateCollation
Source§impl Spanned for CreateCollation
impl Spanned for CreateCollation
Source§impl Visit for CreateCollation
impl Visit for CreateCollation
Source§impl VisitMut for CreateCollation
impl VisitMut for CreateCollation
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 CreateCollation
impl StructuralPartialEq for CreateCollation
Auto Trait Implementations§
impl Freeze for CreateCollation
impl RefUnwindSafe for CreateCollation
impl Send for CreateCollation
impl Sync for CreateCollation
impl Unpin for CreateCollation
impl UnsafeUnpin for CreateCollation
impl UnwindSafe for CreateCollation
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