pub struct MigrationDiff {
pub sql_statements: Vec<String>,
pub renames: Vec<String>,
pub warnings: Vec<String>,
}Available on crate feature
std only.Expand description
Result of computing a migration diff
Fields§
§sql_statements: Vec<String>Generated SQL statements
renames: Vec<String>Renames that occurred (for tracking in snapshot)
warnings: Vec<String>Warning messages
Trait Implementations§
Source§impl Clone for MigrationDiff
impl Clone for MigrationDiff
Source§fn clone(&self) -> MigrationDiff
fn clone(&self) -> MigrationDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MigrationDiff
impl Debug for MigrationDiff
Source§impl Default for MigrationDiff
impl Default for MigrationDiff
Source§fn default() -> MigrationDiff
fn default() -> MigrationDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MigrationDiff
impl RefUnwindSafe for MigrationDiff
impl Send for MigrationDiff
impl Sync for MigrationDiff
impl Unpin for MigrationDiff
impl UnsafeUnpin for MigrationDiff
impl UnwindSafe for MigrationDiff
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