pub struct PostgresDdlGenerator;Expand description
DDL generator for PostgreSQL.
Trait Implementations§
Source§impl DdlGenerator for PostgresDdlGenerator
impl DdlGenerator for PostgresDdlGenerator
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 PostgresDdlGenerator
impl RefUnwindSafe for PostgresDdlGenerator
impl Send for PostgresDdlGenerator
impl Sync for PostgresDdlGenerator
impl Unpin for PostgresDdlGenerator
impl UnsafeUnpin for PostgresDdlGenerator
impl UnwindSafe for PostgresDdlGenerator
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).