#[non_exhaustive]pub struct GkeAutoUpgradeConfig {
pub patch_mode: PatchMode,
/* private fields */
}Expand description
GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
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.patch_mode: PatchModePatchMode specifies how auto upgrade patch builds should be selected.
Implementations§
Source§impl GkeAutoUpgradeConfig
impl GkeAutoUpgradeConfig
pub fn new() -> Self
Sourcepub fn set_patch_mode<T: Into<PatchMode>>(self, v: T) -> Self
pub fn set_patch_mode<T: Into<PatchMode>>(self, v: T) -> Self
Sets the value of patch_mode.
Trait Implementations§
Source§impl Clone for GkeAutoUpgradeConfig
impl Clone for GkeAutoUpgradeConfig
Source§fn clone(&self) -> GkeAutoUpgradeConfig
fn clone(&self) -> GkeAutoUpgradeConfig
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 GkeAutoUpgradeConfig
impl Debug for GkeAutoUpgradeConfig
Source§impl Default for GkeAutoUpgradeConfig
impl Default for GkeAutoUpgradeConfig
Source§fn default() -> GkeAutoUpgradeConfig
fn default() -> GkeAutoUpgradeConfig
Returns the “default value” for a type. Read more
Source§impl Message for GkeAutoUpgradeConfig
impl Message for GkeAutoUpgradeConfig
Source§impl PartialEq for GkeAutoUpgradeConfig
impl PartialEq for GkeAutoUpgradeConfig
impl StructuralPartialEq for GkeAutoUpgradeConfig
Auto Trait Implementations§
impl Freeze for GkeAutoUpgradeConfig
impl RefUnwindSafe for GkeAutoUpgradeConfig
impl Send for GkeAutoUpgradeConfig
impl Sync for GkeAutoUpgradeConfig
impl Unpin for GkeAutoUpgradeConfig
impl UnwindSafe for GkeAutoUpgradeConfig
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