pub enum ChangeAction {
Create,
Update,
Delete,
NoChange,
}Expand description
Represents a change to be made (for diff output).
Variants§
Create
Create a new resource
Update
Update an existing resource
Delete
Delete a resource
NoChange
No change needed
Implementations§
Source§impl ChangeAction
impl ChangeAction
Sourcepub fn is_mutating(&self) -> bool
pub fn is_mutating(&self) -> bool
Check if this action will modify resources
Trait Implementations§
Source§impl Clone for ChangeAction
impl Clone for ChangeAction
Source§fn clone(&self) -> ChangeAction
fn clone(&self) -> ChangeAction
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 ChangeAction
impl Debug for ChangeAction
Source§impl PartialEq for ChangeAction
impl PartialEq for ChangeAction
impl Eq for ChangeAction
impl StructuralPartialEq for ChangeAction
Auto Trait Implementations§
impl Freeze for ChangeAction
impl RefUnwindSafe for ChangeAction
impl Send for ChangeAction
impl Sync for ChangeAction
impl Unpin for ChangeAction
impl UnwindSafe for ChangeAction
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