pub struct MigrationOutcome {
pub warnings: Vec<String>,
}Expand description
What a successful migration reports back beyond “it worked”.
Fields§
§warnings: Vec<String>Non-fatal problems, phrased for the user. Empty on a clean run.
Trait Implementations§
Source§impl Clone for MigrationOutcome
impl Clone for MigrationOutcome
Source§fn clone(&self) -> MigrationOutcome
fn clone(&self) -> MigrationOutcome
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 MigrationOutcome
impl Debug for MigrationOutcome
Source§impl Default for MigrationOutcome
impl Default for MigrationOutcome
Source§fn default() -> MigrationOutcome
fn default() -> MigrationOutcome
Returns the “default value” for a type. Read more
impl Eq for MigrationOutcome
Source§impl PartialEq for MigrationOutcome
impl PartialEq for MigrationOutcome
impl StructuralPartialEq for MigrationOutcome
Auto Trait Implementations§
impl Freeze for MigrationOutcome
impl RefUnwindSafe for MigrationOutcome
impl Send for MigrationOutcome
impl Sync for MigrationOutcome
impl Unpin for MigrationOutcome
impl UnsafeUnpin for MigrationOutcome
impl UnwindSafe for MigrationOutcome
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.