pub enum DesiredChange {
None,
Metadata,
Spec,
}Expand description
Classification of an apply operation.
Variants§
None
Desired state and user-owned metadata were already identical.
Metadata
Only labels and/or annotations changed.
Spec
Spec changed, optionally together with labels or annotations.
Implementations§
Source§impl DesiredChange
impl DesiredChange
Sourcepub fn is_changed(self) -> bool
pub fn is_changed(self) -> bool
Returns whether apply changed the resource.
Trait Implementations§
Source§impl Clone for DesiredChange
impl Clone for DesiredChange
Source§fn clone(&self) -> DesiredChange
fn clone(&self) -> DesiredChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DesiredChange
Source§impl Debug for DesiredChange
impl Debug for DesiredChange
impl Eq for DesiredChange
Source§impl PartialEq for DesiredChange
impl PartialEq for DesiredChange
impl StructuralPartialEq for DesiredChange
Auto Trait Implementations§
impl Freeze for DesiredChange
impl RefUnwindSafe for DesiredChange
impl Send for DesiredChange
impl Sync for DesiredChange
impl Unpin for DesiredChange
impl UnsafeUnpin for DesiredChange
impl UnwindSafe for DesiredChange
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