pub struct Migration {
pub id: String,
pub version: String,
pub file_path: PathBuf,
}Expand description
Metadata for a discovered migration file
Fields§
§id: StringMigration ID (e.g., “1f72f-init”)
version: StringVersion string (e.g., “1f72f”)
file_path: PathBufAbsolute path to the migration file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Migration
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnwindSafe for Migration
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