pub struct MigrationEntry {
pub id: String,
pub name: String,
pub directory: PathBuf,
pub up_sql_path: PathBuf,
pub down_sql_path: PathBuf,
pub snapshot_path: PathBuf,
}Fields§
§id: String§name: String§directory: PathBuf§up_sql_path: PathBuf§down_sql_path: PathBuf§snapshot_path: PathBufTrait Implementations§
Source§impl Clone for MigrationEntry
impl Clone for MigrationEntry
Source§fn clone(&self) -> MigrationEntry
fn clone(&self) -> MigrationEntry
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 MigrationEntry
impl Debug for MigrationEntry
Source§impl PartialEq for MigrationEntry
impl PartialEq for MigrationEntry
Source§fn eq(&self, other: &MigrationEntry) -> bool
fn eq(&self, other: &MigrationEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MigrationEntry
impl StructuralPartialEq for MigrationEntry
Auto Trait Implementations§
impl Freeze for MigrationEntry
impl RefUnwindSafe for MigrationEntry
impl Send for MigrationEntry
impl Sync for MigrationEntry
impl Unpin for MigrationEntry
impl UnsafeUnpin for MigrationEntry
impl UnwindSafe for MigrationEntry
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