pub struct GeneratedMigration {
pub files: Vec<(PathBuf, String)>,
pub description: String,
}Expand description
Result of migration file generation.
Fields§
§files: Vec<(PathBuf, String)>Files that were written (path -> content).
description: StringHuman-readable description of what was generated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeneratedMigration
impl RefUnwindSafe for GeneratedMigration
impl Send for GeneratedMigration
impl Sync for GeneratedMigration
impl Unpin for GeneratedMigration
impl UnsafeUnpin for GeneratedMigration
impl UnwindSafe for GeneratedMigration
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