Struct k8s_openapi::api::autoscaling::v2beta1::ExternalMetricStatus [−][src]
pub struct ExternalMetricStatus {
pub current_average_value: Option<Quantity>,
pub current_value: Quantity,
pub metric_name: String,
pub metric_selector: Option<LabelSelector>,
}Expand description
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
Fields
current_average_value: Option<Quantity>currentAverageValue is the current value of metric averaged over autoscaled pods.
current_value: QuantitycurrentValue is the current value of the metric (as a quantity)
metric_name: StringmetricName is the name of a metric used for autoscaling in metric system.
metric_selector: Option<LabelSelector>metricSelector is used to identify a specific time series within a given metric.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ExternalMetricStatusimpl Send for ExternalMetricStatusimpl Sync for ExternalMetricStatusimpl Unpin for ExternalMetricStatusimpl UnwindSafe for ExternalMetricStatusBlanket Implementations
Mutably borrows from an owned value. Read more