pub enum AlterCollationOperation {
RenameTo {
new_name: Ident,
},
OwnerTo(Owner),
SetSchema {
schema_name: ObjectName,
},
RefreshVersion,
}Expand description
Operations supported by ALTER COLLATION.
Variants§
RenameTo
Rename the collation.
ALTER COLLATION name RENAME TO new_nameOwnerTo(Owner)
Change the collation owner.
ALTER COLLATION name OWNER TO role_nameSetSchema
Move the collation to another schema.
ALTER COLLATION name SET SCHEMA new_schemaFields
§
schema_name: ObjectNameTarget schema name.
RefreshVersion
Refresh collation version metadata.
ALTER COLLATION name REFRESH VERSIONTrait Implementations§
Source§impl Clone for AlterCollationOperation
impl Clone for AlterCollationOperation
Source§fn clone(&self) -> AlterCollationOperation
fn clone(&self) -> AlterCollationOperation
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 AlterCollationOperation
impl Debug for AlterCollationOperation
Source§impl<'de> Deserialize<'de> for AlterCollationOperation
impl<'de> Deserialize<'de> for AlterCollationOperation
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 AlterCollationOperation
impl Display for AlterCollationOperation
Source§impl Hash for AlterCollationOperation
impl Hash for AlterCollationOperation
Source§impl Ord for AlterCollationOperation
impl Ord for AlterCollationOperation
Source§fn cmp(&self, other: &AlterCollationOperation) -> Ordering
fn cmp(&self, other: &AlterCollationOperation) -> 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 AlterCollationOperation
impl PartialEq for AlterCollationOperation
Source§impl PartialOrd for AlterCollationOperation
impl PartialOrd for AlterCollationOperation
Source§impl Serialize for AlterCollationOperation
impl Serialize for AlterCollationOperation
Source§impl Visit for AlterCollationOperation
impl Visit for AlterCollationOperation
Source§impl VisitMut for AlterCollationOperation
impl VisitMut for AlterCollationOperation
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 AlterCollationOperation
impl StructuralPartialEq for AlterCollationOperation
Auto Trait Implementations§
impl Freeze for AlterCollationOperation
impl RefUnwindSafe for AlterCollationOperation
impl Send for AlterCollationOperation
impl Sync for AlterCollationOperation
impl Unpin for AlterCollationOperation
impl UnsafeUnpin for AlterCollationOperation
impl UnwindSafe for AlterCollationOperation
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