pub struct Migration<'a> {
pub name: &'a str,
pub actions: &'a [MigrationAction<'a>],
}
Fields§
§name: &'a str
§actions: &'a [MigrationAction<'a>]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Migration<'a>
impl<'a> !RefUnwindSafe for Migration<'a>
impl<'a> Send for Migration<'a>
impl<'a> Sync for Migration<'a>
impl<'a> Unpin for Migration<'a>
impl<'a> !UnwindSafe for Migration<'a>
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