pub enum AlterOperatorFamilyAction<'a> {
Add {
add_span: Span,
items: Vec<OperatorFamilyItem<'a>>,
},
Drop {
drop_span: Span,
items: Vec<OperatorFamilyDropItem<'a>>,
},
RenameTo {
rename_span: Span,
to_span: Span,
new_name: QualifiedName<'a>,
},
OwnerTo {
owner_span: Span,
to_span: Span,
new_owner: AlterTableOwner<'a>,
},
SetSchema {
set_span: Span,
schema_span: Span,
new_schema: QualifiedName<'a>,
},
}Expand description
Actions for ALTER OPERATOR FAMILY (ADD, DROP, RENAME TO, OWNER TO, SET SCHEMA)
Variants§
Add
ADD OPERATOR/FUNCTION(s) to the family
Fields
§
items: Vec<OperatorFamilyItem<'a>>Items to add (operators/functions)
Drop
DROP OPERATOR/FUNCTION(s) from the family
Fields
§
items: Vec<OperatorFamilyDropItem<'a>>Items to drop (operators/functions)
RenameTo
RENAME TO new_name
Fields
§
new_name: QualifiedName<'a>The new operator family name
OwnerTo
OWNER TO new_owner
Fields
§
new_owner: AlterTableOwner<'a>The new owner name
SetSchema
SET SCHEMA new_schema
Trait Implementations§
Source§impl<'a> Clone for AlterOperatorFamilyAction<'a>
impl<'a> Clone for AlterOperatorFamilyAction<'a>
Source§fn clone(&self) -> AlterOperatorFamilyAction<'a>
fn clone(&self) -> AlterOperatorFamilyAction<'a>
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<'a> Debug for AlterOperatorFamilyAction<'a>
impl<'a> Debug for AlterOperatorFamilyAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for AlterOperatorFamilyAction<'a>
impl<'a> RefUnwindSafe for AlterOperatorFamilyAction<'a>
impl<'a> Send for AlterOperatorFamilyAction<'a>
impl<'a> Sync for AlterOperatorFamilyAction<'a>
impl<'a> Unpin for AlterOperatorFamilyAction<'a>
impl<'a> UnsafeUnpin for AlterOperatorFamilyAction<'a>
impl<'a> UnwindSafe for AlterOperatorFamilyAction<'a>
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