Enum MigrationFileKind
pub enum MigrationFileKind {
Ddl,
Data,
}Expand description
The classification of one migration file: only-DDL or only-data (mixed files are refused).
Variants§
Trait Implementations§
§impl Clone for MigrationFileKind
impl Clone for MigrationFileKind
§fn clone(&self) -> MigrationFileKind
fn clone(&self) -> MigrationFileKind
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 more§impl Debug for MigrationFileKind
impl Debug for MigrationFileKind
§impl PartialEq for MigrationFileKind
impl PartialEq for MigrationFileKind
impl Copy for MigrationFileKind
impl Eq for MigrationFileKind
impl StructuralPartialEq for MigrationFileKind
Auto Trait Implementations§
impl Freeze for MigrationFileKind
impl RefUnwindSafe for MigrationFileKind
impl Send for MigrationFileKind
impl Sync for MigrationFileKind
impl Unpin for MigrationFileKind
impl UnsafeUnpin for MigrationFileKind
impl UnwindSafe for MigrationFileKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.