pub enum AlterOperatorAction<'a> {
OwnerTo {
owner_to_span: Span,
new_owner: AlterTableOwner<'a>,
},
SetSchema {
set_schema_span: Span,
new_schema: QualifiedName<'a>,
},
SetOptions {
set_span: Span,
options: Vec<OperatorOption<'a>>,
},
}Expand description
ALTER OPERATOR actions (OWNER TO, SET SCHEMA, SET (…))
Variants§
OwnerTo
OWNER TO new_owner
Fields
§
new_owner: AlterTableOwner<'a>The new owner name
SetSchema
SET SCHEMA new_schema
Fields
§
new_schema: QualifiedName<'a>The new schema name
SetOptions
SET (option = value, …)
Trait Implementations§
Source§impl<'a> Clone for AlterOperatorAction<'a>
impl<'a> Clone for AlterOperatorAction<'a>
Source§fn clone(&self) -> AlterOperatorAction<'a>
fn clone(&self) -> AlterOperatorAction<'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 AlterOperatorAction<'a>
impl<'a> Debug for AlterOperatorAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for AlterOperatorAction<'a>
impl<'a> RefUnwindSafe for AlterOperatorAction<'a>
impl<'a> Send for AlterOperatorAction<'a>
impl<'a> Sync for AlterOperatorAction<'a>
impl<'a> Unpin for AlterOperatorAction<'a>
impl<'a> UnsafeUnpin for AlterOperatorAction<'a>
impl<'a> UnwindSafe for AlterOperatorAction<'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