pub struct AlterOperator<'a> {
pub alter_operator_span: Span,
pub name: QualifiedName<'a>,
pub lparen_span: Span,
pub left_type: LeftOperatorType<'a>,
pub comma_span: Span,
pub right_type: DataType<'a>,
pub rparen_span: Span,
pub action: AlterOperatorAction<'a>,
}Expand description
ALTER OPERATOR statement (PostgreSQL)
Fields§
§alter_operator_span: SpanSpan of “ALTER OPERATOR”
name: QualifiedName<'a>The operator name (e.g., +, -, @@, myschema.@@)
lparen_span: SpanLeft parenthesis span
left_type: LeftOperatorType<'a>Left operator type (either NONE or a data type)
comma_span: SpanComma span
right_type: DataType<'a>Right operator type
rparen_span: SpanRight parenthesis span
action: AlterOperatorAction<'a>ALTER OPERATOR action
Trait Implementations§
Source§impl<'a> Clone for AlterOperator<'a>
impl<'a> Clone for AlterOperator<'a>
Source§fn clone(&self) -> AlterOperator<'a>
fn clone(&self) -> AlterOperator<'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 AlterOperator<'a>
impl<'a> Debug for AlterOperator<'a>
Auto Trait Implementations§
impl<'a> Freeze for AlterOperator<'a>
impl<'a> RefUnwindSafe for AlterOperator<'a>
impl<'a> Send for AlterOperator<'a>
impl<'a> Sync for AlterOperator<'a>
impl<'a> Unpin for AlterOperator<'a>
impl<'a> UnsafeUnpin for AlterOperator<'a>
impl<'a> UnwindSafe for AlterOperator<'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