pub struct Drop {
pub object_type: ObjectType,
pub if_exists: bool,
pub names: Vec<ObjectName>,
pub cascade: bool,
pub purge: bool,
}Expand description
DROP
Fields§
§object_type: ObjectTypeThe type of the object to drop: TABLE, VIEW, etc.
if_exists: boolAn optional IF EXISTS clause. (Non-standard.)
names: Vec<ObjectName>One or more objects to drop. (ANSI SQL requires exactly one.)
cascade: boolWhether CASCADE was specified. This will be false when
RESTRICT or no drop behavior at all was specified.
purge: boolHive allows you specify whether the table’s stored data will be deleted along with the dropped table
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Drop
impl<'de> Deserialize<'de> for Drop
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
impl Eq for Drop
impl StructuralPartialEq for Drop
Auto Trait Implementations§
impl Freeze for Drop
impl RefUnwindSafe for Drop
impl Send for Drop
impl Sync for Drop
impl Unpin for Drop
impl UnwindSafe for Drop
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