pub struct MigrationRunResult {
pub discovered: Vec<String>,
pub skipped: Vec<String>,
pub applied: Vec<String>,
}Expand description
Outcome of a run_migrations pass.
Fields§
§discovered: Vec<String>Every *.sql file found in the directory, lexically sorted.
skipped: Vec<String>Files already recorded as applied (skipped this pass).
applied: Vec<String>Files applied during this pass, in the order they ran.
Trait Implementations§
Source§impl Clone for MigrationRunResult
impl Clone for MigrationRunResult
Source§fn clone(&self) -> MigrationRunResult
fn clone(&self) -> MigrationRunResult
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 MigrationRunResult
impl Debug for MigrationRunResult
impl Eq for MigrationRunResult
Source§impl PartialEq for MigrationRunResult
impl PartialEq for MigrationRunResult
Source§fn eq(&self, other: &MigrationRunResult) -> bool
fn eq(&self, other: &MigrationRunResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrationRunResult
Auto Trait Implementations§
impl Freeze for MigrationRunResult
impl RefUnwindSafe for MigrationRunResult
impl Send for MigrationRunResult
impl Sync for MigrationRunResult
impl Unpin for MigrationRunResult
impl UnsafeUnpin for MigrationRunResult
impl UnwindSafe for MigrationRunResult
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