pub struct Plan {
pub steps: Vec<Step>,
pub absent: bool,
}Expand description
Everything the old layout holds that the new one should have.
Fields§
§steps: Vec<Step>§absent: boolTrue when the old layout is not there at all, so there is nothing to do and nothing to say. A fresh install must not be greeted by a migration notice.
Implementations§
Trait Implementations§
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Forget for Plan
impl Freeze for Plan
impl Move for Plan
impl RefUnwindSafe for Plan
impl Send for Planwhere
RawVecInner: Send,
impl Sync for Planwhere
RawVecInner: Sync,
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Planwhere
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.