pub struct DropTrigger {
pub if_exists: bool,
pub trigger_name: ObjectName,
pub table_name: Option<ObjectName>,
pub option: Option<ReferentialAction>,
}Expand description
DROP TRIGGER
DROP TRIGGER [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]Fields§
§if_exists: boolWhether to include the IF EXISTS clause.
trigger_name: ObjectNameThe name of the trigger to be dropped.
table_name: Option<ObjectName>The name of the table from which the trigger is to be dropped.
option: Option<ReferentialAction>CASCADE or RESTRICT
Trait Implementations§
Source§impl Clone for DropTrigger
impl Clone for DropTrigger
Source§fn clone(&self) -> DropTrigger
fn clone(&self) -> DropTrigger
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 DropTrigger
impl Debug for DropTrigger
Source§impl<'de> Deserialize<'de> for DropTrigger
impl<'de> Deserialize<'de> for DropTrigger
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 Display for DropTrigger
impl Display for DropTrigger
Source§impl From<DropTrigger> for Statement
impl From<DropTrigger> for Statement
Source§fn from(d: DropTrigger) -> Self
fn from(d: DropTrigger) -> Self
Converts to this type from the input type.
Source§impl Hash for DropTrigger
impl Hash for DropTrigger
Source§impl Ord for DropTrigger
impl Ord for DropTrigger
Source§fn cmp(&self, other: &DropTrigger) -> Ordering
fn cmp(&self, other: &DropTrigger) -> 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 DropTrigger
impl PartialEq for DropTrigger
Source§impl PartialOrd for DropTrigger
impl PartialOrd for DropTrigger
Source§impl Serialize for DropTrigger
impl Serialize for DropTrigger
Source§impl Visit for DropTrigger
impl Visit for DropTrigger
Source§impl VisitMut for DropTrigger
impl VisitMut for DropTrigger
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for DropTrigger
impl StructuralPartialEq for DropTrigger
Auto Trait Implementations§
impl Freeze for DropTrigger
impl RefUnwindSafe for DropTrigger
impl Send for DropTrigger
impl Sync for DropTrigger
impl Unpin for DropTrigger
impl UnwindSafe for DropTrigger
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