pub enum Migration {
NotNeeded,
Migrated {
name: String,
project_id: Uuid,
},
DroppedLegacy {
name: String,
},
}Expand description
What migrate_default_project did to the in-memory config.
Variants§
NotNeeded
No legacy default_project in the config: nothing to do.
Migrated
default_project was resolved and replaced by project_id +
project_name.
DroppedLegacy
The config already had a project_id, which is authoritative; the
stale default_project was dropped without a lookup.
Trait Implementations§
impl Eq for Migration
impl StructuralPartialEq for Migration
Auto Trait Implementations§
impl Forget for Migration
impl Freeze for Migration
impl Move for Migration
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnsafeUnpin for Migration
impl UnwindSafe for Migration
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<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.