#[non_exhaustive]pub struct UpdateInfo {
pub blue_green_info: Option<BlueGreenInfo>,
/* private fields */
}Expand description
UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.blue_green_info: Option<BlueGreenInfo>Information of a blue-green upgrade.
Implementations§
Source§impl UpdateInfo
impl UpdateInfo
pub fn new() -> Self
Sourcepub fn set_blue_green_info<T>(self, v: T) -> Selfwhere
T: Into<BlueGreenInfo>,
pub fn set_blue_green_info<T>(self, v: T) -> Selfwhere
T: Into<BlueGreenInfo>,
Sets the value of blue_green_info.
Sourcepub fn set_or_clear_blue_green_info<T>(self, v: Option<T>) -> Selfwhere
T: Into<BlueGreenInfo>,
pub fn set_or_clear_blue_green_info<T>(self, v: Option<T>) -> Selfwhere
T: Into<BlueGreenInfo>,
Sets or clears the value of blue_green_info.
Trait Implementations§
Source§impl Clone for UpdateInfo
impl Clone for UpdateInfo
Source§fn clone(&self) -> UpdateInfo
fn clone(&self) -> UpdateInfo
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 UpdateInfo
impl Debug for UpdateInfo
Source§impl Default for UpdateInfo
impl Default for UpdateInfo
Source§fn default() -> UpdateInfo
fn default() -> UpdateInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateInfo
impl PartialEq for UpdateInfo
impl StructuralPartialEq for UpdateInfo
Auto Trait Implementations§
impl Freeze for UpdateInfo
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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