[][src]Struct google_autoscaler1_beta2::AutoscalingPolicyCpuUtilization

pub struct AutoscalingPolicyCpuUtilization {
    pub utilization_target: Option<f64>,
}

CPU utilization policy.

This type is not used in any activity, and only used as part of another schema.

Fields

utilization_target: Option<f64>

The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.

Trait Implementations

impl Clone for AutoscalingPolicyCpuUtilization[src]

impl Debug for AutoscalingPolicyCpuUtilization[src]

impl Default for AutoscalingPolicyCpuUtilization[src]

impl<'de> Deserialize<'de> for AutoscalingPolicyCpuUtilization[src]

impl Part for AutoscalingPolicyCpuUtilization[src]

impl Serialize for AutoscalingPolicyCpuUtilization[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any