pub struct MigrationNote {
pub from: u32,
pub message: String,
}Expand description
A note produced while migrating.
Fields§
§from: u32Schema the step started from.
message: StringHuman readable description.
Trait Implementations§
Source§impl Clone for MigrationNote
impl Clone for MigrationNote
Source§fn clone(&self) -> MigrationNote
fn clone(&self) -> MigrationNote
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 MigrationNote
impl Debug for MigrationNote
impl Eq for MigrationNote
Source§impl PartialEq for MigrationNote
impl PartialEq for MigrationNote
Source§fn eq(&self, other: &MigrationNote) -> bool
fn eq(&self, other: &MigrationNote) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrationNote
Auto Trait Implementations§
impl Freeze for MigrationNote
impl RefUnwindSafe for MigrationNote
impl Send for MigrationNote
impl Sync for MigrationNote
impl Unpin for MigrationNote
impl UnsafeUnpin for MigrationNote
impl UnwindSafe for MigrationNote
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