#[non_exhaustive]pub struct DesiredEnterpriseConfig {
pub desired_tier: ClusterTier,
/* private fields */
}๐Deprecated
Expand description
DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
Deprecated: GKE Enterprise features are now available without an Enterprise tier.
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.desired_tier: ClusterTier๐Deprecated
desired_tier specifies the desired tier of the cluster.
Implementationsยง
Sourceยงimpl DesiredEnterpriseConfig
impl DesiredEnterpriseConfig
pub fn new() -> Self
Sourcepub fn set_desired_tier<T: Into<ClusterTier>>(self, v: T) -> Self
pub fn set_desired_tier<T: Into<ClusterTier>>(self, v: T) -> Self
Sets the value of desired_tier.
Trait Implementationsยง
Sourceยงimpl Clone for DesiredEnterpriseConfig
impl Clone for DesiredEnterpriseConfig
Sourceยงfn clone(&self) -> DesiredEnterpriseConfig
fn clone(&self) -> DesiredEnterpriseConfig
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 DesiredEnterpriseConfig
impl Debug for DesiredEnterpriseConfig
Sourceยงimpl Default for DesiredEnterpriseConfig
impl Default for DesiredEnterpriseConfig
Sourceยงfn default() -> DesiredEnterpriseConfig
fn default() -> DesiredEnterpriseConfig
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for DesiredEnterpriseConfig
impl Message for DesiredEnterpriseConfig
Sourceยงimpl PartialEq for DesiredEnterpriseConfig
impl PartialEq for DesiredEnterpriseConfig
impl StructuralPartialEq for DesiredEnterpriseConfig
Auto Trait Implementationsยง
impl Freeze for DesiredEnterpriseConfig
impl RefUnwindSafe for DesiredEnterpriseConfig
impl Send for DesiredEnterpriseConfig
impl Sync for DesiredEnterpriseConfig
impl Unpin for DesiredEnterpriseConfig
impl UnwindSafe for DesiredEnterpriseConfig
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