pub struct Migrations {
pub version: i64,
pub steps: &'static [Step],
pub before: Option<fn(&Connection) -> Result<()>>,
}Fields§
§version: i64§steps: &'static [Step]§before: Option<fn(&Connection) -> Result<()>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Migrations
impl RefUnwindSafe for Migrations
impl Send for Migrations
impl Sync for Migrations
impl Unpin for Migrations
impl UnsafeUnpin for Migrations
impl UnwindSafe for Migrations
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