pub enum Change {
Create,
Delete,
Update(Vec<FieldChange>),
}Expand description
What the plan does to one resource.
Variants§
Create
The resource does not exist yet.
Delete
The resource exists and is not declared.
Update(Vec<FieldChange>)
The resource exists with other values, in name order.
Implementations§
Source§impl Change
impl Change
Sourcepub fn field(name: &'static str, old: FieldValue, new: FieldValue) -> Self
pub fn field(name: &'static str, old: FieldValue, new: FieldValue) -> Self
An update of a single field.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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
Compare self to
key and return true if they are equal.