pub enum Change {
Added {
key: String,
value: String,
},
Commented {
key: String,
},
DefaultMoved {
key: String,
from: String,
to: String,
},
Renamed {
from: String,
to: String,
value: String,
},
Kept {
key: String,
},
}Expand description
What a migration did to one key.
Variants§
Added
The file did not have the key; this build ships it with a value.
Commented
The file did not have the key, and this build ships it unset: the line is a comment.
DefaultMoved
The key moved to the value this build ships, because the file still held the old default.
Renamed
The key was renamed, and its value came with it.
Kept
The key was left alone, and here is why: the operator set it.
Implementations§
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Forget for Change
impl Freeze for Change
impl Move for Change
impl RefUnwindSafe for Change
impl Send for Changewhere
RawVecInner: Send,
impl Sync for Changewhere
RawVecInner: Sync,
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Changewhere
RawVecInner: UnwindSafe,
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.