pub struct DropIndexStatement {
pub index_name: String,
pub table: Table,
pub algorithm_option: Option<AlgorithmType>,
pub lock_option: Option<LockType>,
}
Expand description
parse DROP INDEX index_name ON tbl_name [algorithm_option | lock_option] ...
algorithm_option: ALGORITHM [=] {DEFAULT | INSTANT | INPLACE | COPY}
lock_option: LOCK [=] {DEFAULT | NONE | SHARED | EXCLUSIVE}
Fields§
§index_name: String
§table: Table
§algorithm_option: Option<AlgorithmType>
§lock_option: Option<LockType>
Implementations§
Source§impl DropIndexStatement
impl DropIndexStatement
pub fn parse(i: &str) -> IResult<&str, DropIndexStatement, ParseSQLError<&str>>
Trait Implementations§
Source§impl Clone for DropIndexStatement
impl Clone for DropIndexStatement
Source§fn clone(&self) -> DropIndexStatement
fn clone(&self) -> DropIndexStatement
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 DropIndexStatement
impl Debug for DropIndexStatement
Source§impl<'de> Deserialize<'de> for DropIndexStatement
impl<'de> Deserialize<'de> for DropIndexStatement
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 DropIndexStatement
impl Display for DropIndexStatement
Source§impl Hash for DropIndexStatement
impl Hash for DropIndexStatement
Source§impl PartialEq for DropIndexStatement
impl PartialEq for DropIndexStatement
Source§impl Serialize for DropIndexStatement
impl Serialize for DropIndexStatement
impl Eq for DropIndexStatement
impl StructuralPartialEq for DropIndexStatement
Auto Trait Implementations§
impl Freeze for DropIndexStatement
impl RefUnwindSafe for DropIndexStatement
impl Send for DropIndexStatement
impl Sync for DropIndexStatement
impl Unpin for DropIndexStatement
impl UnwindSafe for DropIndexStatement
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