Struct google_container1::api::HorizontalPodAutoscaling
source · pub struct HorizontalPodAutoscaling {
pub disabled: Option<bool>,
}
Expand description
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disabled: Option<bool>
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Trait Implementations§
source§impl Clone for HorizontalPodAutoscaling
impl Clone for HorizontalPodAutoscaling
source§fn clone(&self) -> HorizontalPodAutoscaling
fn clone(&self) -> HorizontalPodAutoscaling
Returns a copy 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 HorizontalPodAutoscaling
impl Debug for HorizontalPodAutoscaling
source§impl Default for HorizontalPodAutoscaling
impl Default for HorizontalPodAutoscaling
source§fn default() -> HorizontalPodAutoscaling
fn default() -> HorizontalPodAutoscaling
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HorizontalPodAutoscaling
impl<'de> Deserialize<'de> for HorizontalPodAutoscaling
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for HorizontalPodAutoscaling
impl Serialize for HorizontalPodAutoscaling
impl Part for HorizontalPodAutoscaling
Auto Trait Implementations§
impl RefUnwindSafe for HorizontalPodAutoscaling
impl Send for HorizontalPodAutoscaling
impl Sync for HorizontalPodAutoscaling
impl Unpin for HorizontalPodAutoscaling
impl UnwindSafe for HorizontalPodAutoscaling
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