Skip to main content

DropIndex

Trait DropIndex 

Source
pub trait DropIndex {
    // Required methods
    fn if_exists(self) -> Self;
    fn build(self) -> String;
}
Expand description

Trait representing a drop index builder.

Required Methods§

Source

fn if_exists(self) -> Self

Drops the index only, if it exists.

Source

fn build(self) -> String

This method is used to build the drop index statement.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§