pub enum MigrationInfo {
Table(&'static str),
Index(&'static str),
Column {
table: &'static str,
column: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Clone for MigrationInfo
impl Clone for MigrationInfo
Source§fn clone(&self) -> MigrationInfo
fn clone(&self) -> MigrationInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MigrationInfo
impl Debug for MigrationInfo
Source§impl ToParams for MigrationInfo
impl ToParams for MigrationInfo
fn add_params(&self, _params: &mut Vec<DatabaseValue>)
impl Copy for MigrationInfo
Auto Trait Implementations§
impl Freeze for MigrationInfo
impl RefUnwindSafe for MigrationInfo
impl Send for MigrationInfo
impl Sync for MigrationInfo
impl Unpin for MigrationInfo
impl UnsafeUnpin for MigrationInfo
impl UnwindSafe for MigrationInfo
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