#[non_exhaustive]pub struct EnterpriseConfig {
pub cluster_tier: ClusterTier,
pub desired_tier: ClusterTier,
/* private fields */
}๐Deprecated
Expand description
EnterpriseConfig is the cluster enterprise configuration.
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.cluster_tier: ClusterTier๐Deprecated
Output only. cluster_tier indicates the effective tier of the cluster.
desired_tier: ClusterTier๐Deprecated
desired_tier specifies the desired tier of the cluster.
Implementationsยง
Sourceยงimpl EnterpriseConfig
impl EnterpriseConfig
pub fn new() -> Self
Sourcepub fn set_cluster_tier<T: Into<ClusterTier>>(self, v: T) -> Self
pub fn set_cluster_tier<T: Into<ClusterTier>>(self, v: T) -> Self
Sets the value of cluster_tier.
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 EnterpriseConfig
impl Clone for EnterpriseConfig
Sourceยงfn clone(&self) -> EnterpriseConfig
fn clone(&self) -> EnterpriseConfig
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 EnterpriseConfig
impl Debug for EnterpriseConfig
Sourceยงimpl Default for EnterpriseConfig
impl Default for EnterpriseConfig
Sourceยงfn default() -> EnterpriseConfig
fn default() -> EnterpriseConfig
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for EnterpriseConfig
impl Message for EnterpriseConfig
Sourceยงimpl PartialEq for EnterpriseConfig
impl PartialEq for EnterpriseConfig
impl StructuralPartialEq for EnterpriseConfig
Auto Trait Implementationsยง
impl Freeze for EnterpriseConfig
impl RefUnwindSafe for EnterpriseConfig
impl Send for EnterpriseConfig
impl Sync for EnterpriseConfig
impl Unpin for EnterpriseConfig
impl UnwindSafe for EnterpriseConfig
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