pub struct AlterTrigger {
pub name: Ident,
pub table_name: ObjectName,
pub operation: AlterTriggerOperation,
}Expand description
ALTER TRIGGER statement.
Its source span covers name, table_name and operation.
ALTER TRIGGER <NAME> ON <TABLE NAME> <OPERATION>(Postgresql-specific)
Fields§
§name: IdentTrigger name to alter.
table_name: ObjectNameTarget table name the trigger is defined on.
operation: AlterTriggerOperationOperation specific to the trigger alteration.
Trait Implementations§
Source§impl Clone for AlterTrigger
impl Clone for AlterTrigger
Source§fn clone(&self) -> AlterTrigger
fn clone(&self) -> AlterTrigger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlterTrigger
impl Debug for AlterTrigger
Source§impl Display for AlterTrigger
impl Display for AlterTrigger
impl Eq for AlterTrigger
Source§impl From<AlterTrigger> for Statement
impl From<AlterTrigger> for Statement
Source§fn from(v: AlterTrigger) -> Self
fn from(v: AlterTrigger) -> Self
Converts to this type from the input type.
Source§impl Hash for AlterTrigger
impl Hash for AlterTrigger
Source§impl Ord for AlterTrigger
impl Ord for AlterTrigger
Source§fn cmp(&self, other: &AlterTrigger) -> Ordering
fn cmp(&self, other: &AlterTrigger) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AlterTrigger
impl PartialEq for AlterTrigger
Source§impl PartialOrd for AlterTrigger
impl PartialOrd for AlterTrigger
Source§impl Spanned for AlterTrigger
impl Spanned for AlterTrigger
impl StructuralPartialEq for AlterTrigger
Auto Trait Implementations§
impl Freeze for AlterTrigger
impl RefUnwindSafe for AlterTrigger
impl Send for AlterTrigger
impl Sync for AlterTrigger
impl Unpin for AlterTrigger
impl UnsafeUnpin for AlterTrigger
impl UnwindSafe for AlterTrigger
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