Struct k8s_openapi::v1_8::api::autoscaling::v1::ScaleSpec[][src]

pub struct ScaleSpec {
    pub replicas: Option<i32>,
}

ScaleSpec describes the attributes of a scale subresource.

Fields

desired number of instances for the scaled object.

Trait Implementations

impl Clone for ScaleSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ScaleSpec
[src]

Formats the value using the given formatter. Read more

impl Default for ScaleSpec
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ScaleSpec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ScaleSpec
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for ScaleSpec

impl Sync for ScaleSpec