Struct k8s_openapi::v1_11::api::autoscaling::v1::ScaleStatus[][src]

pub struct ScaleStatus {
    pub replicas: i32,
    pub selector: Option<String>,
}

ScaleStatus represents the current status of a scale subresource.

Fields

actual number of observed instances of the scaled object.

label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

Trait Implementations

impl Clone for ScaleStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ScaleStatus
[src]

Formats the value using the given formatter. Read more

impl Default for ScaleStatus
[src]

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

impl PartialEq for ScaleStatus
[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 ScaleStatus
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ScaleStatus
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for ScaleStatus

impl Sync for ScaleStatus