Trait DropTable

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

Trait representing a drop table builder.

Required Methods§

Source

fn if_exists(self) -> Self

Drops the table only, if it exists.

Source

fn build(self) -> String

This method is used to build the drop table statement.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§