pub enum UpdateType {
Created,
TemplateChanged,
None,
}Expand description
How an add affected the matched/created cluster.
Variants§
Created
A brand-new cluster was created.
TemplateChanged
An existing cluster’s template was generalized.
None
An existing cluster matched with no template change.
Trait Implementations§
Source§impl Clone for UpdateType
impl Clone for UpdateType
Source§fn clone(&self) -> UpdateType
fn clone(&self) -> UpdateType
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 UpdateType
Source§impl Debug for UpdateType
impl Debug for UpdateType
impl Eq for UpdateType
Source§impl PartialEq for UpdateType
impl PartialEq for UpdateType
Source§fn eq(&self, other: &UpdateType) -> bool
fn eq(&self, other: &UpdateType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateType
Auto Trait Implementations§
impl Freeze for UpdateType
impl RefUnwindSafe for UpdateType
impl Send for UpdateType
impl Sync for UpdateType
impl Unpin for UpdateType
impl UnsafeUnpin for UpdateType
impl UnwindSafe for UpdateType
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