pub enum AlterOperatorFamilyOperation {
Add {
items: Vec<OperatorFamilyItem>,
},
Drop {
items: Vec<OperatorFamilyDropItem>,
},
RenameTo {
new_name: ObjectName,
},
OwnerTo(Owner),
SetSchema {
schema_name: ObjectName,
},
}Expand description
An AlterOperatorFamily operation
Variants§
Add
ADD { OPERATOR ... | FUNCTION ... } [, ...]
Fields
§
items: Vec<OperatorFamilyItem>List of operator family items to add
Drop
DROP { OPERATOR ... | FUNCTION ... } [, ...]
Fields
§
items: Vec<OperatorFamilyDropItem>List of operator family items to drop
RenameTo
RENAME TO new_name
Fields
§
new_name: ObjectNameOwnerTo(Owner)
OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
SetSchema
SET SCHEMA new_schema
Fields
§
schema_name: ObjectNameTrait Implementations§
Source§impl Clone for AlterOperatorFamilyOperation
impl Clone for AlterOperatorFamilyOperation
Source§fn clone(&self) -> AlterOperatorFamilyOperation
fn clone(&self) -> AlterOperatorFamilyOperation
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 AlterOperatorFamilyOperation
impl Debug for AlterOperatorFamilyOperation
Source§impl<'de> Deserialize<'de> for AlterOperatorFamilyOperation
impl<'de> Deserialize<'de> for AlterOperatorFamilyOperation
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 AlterOperatorFamilyOperation
impl Hash for AlterOperatorFamilyOperation
Source§impl Ord for AlterOperatorFamilyOperation
impl Ord for AlterOperatorFamilyOperation
Source§fn cmp(&self, other: &AlterOperatorFamilyOperation) -> Ordering
fn cmp(&self, other: &AlterOperatorFamilyOperation) -> 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 AlterOperatorFamilyOperation
impl PartialEq for AlterOperatorFamilyOperation
Source§fn eq(&self, other: &AlterOperatorFamilyOperation) -> bool
fn eq(&self, other: &AlterOperatorFamilyOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AlterOperatorFamilyOperation
impl PartialOrd for AlterOperatorFamilyOperation
Source§impl Visit for AlterOperatorFamilyOperation
impl Visit for AlterOperatorFamilyOperation
Source§impl VisitMut for AlterOperatorFamilyOperation
impl VisitMut for AlterOperatorFamilyOperation
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for AlterOperatorFamilyOperation
impl StructuralPartialEq for AlterOperatorFamilyOperation
Auto Trait Implementations§
impl Freeze for AlterOperatorFamilyOperation
impl RefUnwindSafe for AlterOperatorFamilyOperation
impl Send for AlterOperatorFamilyOperation
impl Sync for AlterOperatorFamilyOperation
impl Unpin for AlterOperatorFamilyOperation
impl UnwindSafe for AlterOperatorFamilyOperation
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