pub struct MigrationPlan {
pub applied_count: usize,
pub pending_count: usize,
pub pending_migrations: Vec<String>,
pub pending_statements: usize,
}Expand description
Planned migration execution details.
Fields§
§applied_count: usizeNumber of already-applied migrations found in the database metadata table.
pending_count: usizeNumber of pending migrations found locally.
pending_migrations: Vec<String>Pending migration tags in execution order.
pending_statements: usizeTotal number of non-empty SQL statements in pending migrations.
Trait Implementations§
Source§impl Clone for MigrationPlan
impl Clone for MigrationPlan
Source§fn clone(&self) -> MigrationPlan
fn clone(&self) -> MigrationPlan
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 moreAuto Trait Implementations§
impl Freeze for MigrationPlan
impl RefUnwindSafe for MigrationPlan
impl Send for MigrationPlan
impl Sync for MigrationPlan
impl Unpin for MigrationPlan
impl UnsafeUnpin for MigrationPlan
impl UnwindSafe for MigrationPlan
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