pub struct MigrationDir {
pub role: String,
pub path: PathBuf,
pub files: Vec<MigrationFile>,
}Expand description
An independent numbering namespace (platform vs tenant, etc.).
Fields§
§role: String§path: PathBuf§files: Vec<MigrationFile>Trait Implementations§
Source§impl Clone for MigrationDir
impl Clone for MigrationDir
Source§fn clone(&self) -> MigrationDir
fn clone(&self) -> MigrationDir
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 MigrationDir
impl RefUnwindSafe for MigrationDir
impl Send for MigrationDir
impl Sync for MigrationDir
impl Unpin for MigrationDir
impl UnsafeUnpin for MigrationDir
impl UnwindSafe for MigrationDir
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