pub enum MigrationType {
ConfigKeyRename {
old_key: &'static str,
new_key: &'static str,
},
ConfigKeyRemove {
key: &'static str,
},
ConfigCiGateRewrite,
FileRename {
old_path: &'static str,
new_path: &'static str,
},
ReadmeUpdate {
from_version: u32,
to_version: u32,
},
}Expand description
Types of migrations supported.
Variants§
ConfigKeyRename
Rename a config key (old_key -> new_key).
Fields
ConfigKeyRemove
Remove a deprecated config key.
ConfigCiGateRewrite
Rewrite legacy CI gate string config to structured argv/shell config.
FileRename
Rename/move a file.
Fields
ReadmeUpdate
Update README template.
Trait Implementations§
Source§impl Clone for MigrationType
impl Clone for MigrationType
Source§fn clone(&self) -> MigrationType
fn clone(&self) -> MigrationType
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 MigrationType
impl Debug for MigrationType
Source§impl PartialEq for MigrationType
impl PartialEq for MigrationType
impl Eq for MigrationType
impl StructuralPartialEq for MigrationType
Auto Trait Implementations§
impl Freeze for MigrationType
impl RefUnwindSafe for MigrationType
impl Send for MigrationType
impl Sync for MigrationType
impl Unpin for MigrationType
impl UnsafeUnpin for MigrationType
impl UnwindSafe for MigrationType
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.