Struct libsalmo::migration_data::migrations::Migration
source · Fields
id: Stringpath: PathBufImplementations
sourceimpl Migration
impl Migration
pub fn migrate_path(&self) -> PathBuf
pub fn revert_path(&self) -> PathBuf
pub fn migrate_sql(&self) -> Result<String>
pub fn revert_sql(&self) -> Result<String>
pub fn migrate_hash(&self) -> Result<String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnwindSafe for Migration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more