pub struct DropIndexOp {
pub name: String,
pub table: Option<String>,
pub if_exists: bool,
}Expand description
Drop index operation.
Fields§
§name: StringIndex name.
table: Option<String>Table name (required for some dialects).
if_exists: boolWhether to use IF EXISTS.
Trait Implementations§
Source§impl Clone for DropIndexOp
impl Clone for DropIndexOp
Source§fn clone(&self) -> DropIndexOp
fn clone(&self) -> DropIndexOp
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 DropIndexOp
impl Debug for DropIndexOp
Source§impl From<DropIndexOp> for Operation
impl From<DropIndexOp> for Operation
Source§fn from(op: DropIndexOp) -> Self
fn from(op: DropIndexOp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DropIndexOp
impl PartialEq for DropIndexOp
impl Eq for DropIndexOp
impl StructuralPartialEq for DropIndexOp
Auto Trait Implementations§
impl Freeze for DropIndexOp
impl RefUnwindSafe for DropIndexOp
impl Send for DropIndexOp
impl Sync for DropIndexOp
impl Unpin for DropIndexOp
impl UnwindSafe for DropIndexOp
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