Struct k8s_openapi::api::autoscaling::v2beta2::MetricIdentifier [−][src]
pub struct MetricIdentifier {
pub name: String,
pub selector: Option<LabelSelector>,
}
Expand description
MetricIdentifier defines the name and optionally selector for a metric
Fields
name: String
name is the name of the given metric
selector: Option<LabelSelector>
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
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 MetricIdentifier
impl Send for MetricIdentifier
impl Sync for MetricIdentifier
impl Unpin for MetricIdentifier
impl UnwindSafe for MetricIdentifier
Blanket Implementations
Mutably borrows from an owned value. Read more