pub struct MysqlDdlGenerator;Expand description
DDL generator for MySQL.
Trait Implementations§
Source§impl DdlGenerator for MysqlDdlGenerator
impl DdlGenerator for MysqlDdlGenerator
Source§fn generate(&self, op: &SchemaOperation) -> Vec<String>
fn generate(&self, op: &SchemaOperation) -> Vec<String>
Generate DDL statement(s) for a single schema operation. Read more
Source§fn generate_all(&self, ops: &[SchemaOperation]) -> Vec<String>
fn generate_all(&self, ops: &[SchemaOperation]) -> Vec<String>
Generate DDL statements for multiple operations.
Source§fn generate_rollback(&self, ops: &[SchemaOperation]) -> Vec<String>
fn generate_rollback(&self, ops: &[SchemaOperation]) -> Vec<String>
Generate rollback DDL statements (inverse operations). Read more
Auto Trait Implementations§
impl Freeze for MysqlDdlGenerator
impl RefUnwindSafe for MysqlDdlGenerator
impl Send for MysqlDdlGenerator
impl Sync for MysqlDdlGenerator
impl Unpin for MysqlDdlGenerator
impl UnsafeUnpin for MysqlDdlGenerator
impl UnwindSafe for MysqlDdlGenerator
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).