pub struct RuntimeComponentAutoscalingMetricsObjectTarget {
pub average_utilization: Option<i32>,
pub average_value: Option<IntOrString>,
pub type: String,
pub value: Option<IntOrString>,
}Expand description
target specifies the target value for the given metric
Fields§
§average_utilization: Option<i32>averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
average_value: Option<IntOrString>averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
type: Stringtype represents whether the metric type is Utilization, Value, or AverageValue
value: Option<IntOrString>value is the target value of the metric (as a quantity).
Trait Implementations§
Source§impl Clone for RuntimeComponentAutoscalingMetricsObjectTarget
impl Clone for RuntimeComponentAutoscalingMetricsObjectTarget
Source§fn clone(&self) -> RuntimeComponentAutoscalingMetricsObjectTarget
fn clone(&self) -> RuntimeComponentAutoscalingMetricsObjectTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RuntimeComponentAutoscalingMetricsObjectTarget
impl Default for RuntimeComponentAutoscalingMetricsObjectTarget
Source§fn default() -> RuntimeComponentAutoscalingMetricsObjectTarget
fn default() -> RuntimeComponentAutoscalingMetricsObjectTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentAutoscalingMetricsObjectTarget
impl<'de> Deserialize<'de> for RuntimeComponentAutoscalingMetricsObjectTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeComponentAutoscalingMetricsObjectTarget
impl PartialEq for RuntimeComponentAutoscalingMetricsObjectTarget
Source§fn eq(&self, other: &RuntimeComponentAutoscalingMetricsObjectTarget) -> bool
fn eq(&self, other: &RuntimeComponentAutoscalingMetricsObjectTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentAutoscalingMetricsObjectTarget
Auto Trait Implementations§
impl Freeze for RuntimeComponentAutoscalingMetricsObjectTarget
impl RefUnwindSafe for RuntimeComponentAutoscalingMetricsObjectTarget
impl Send for RuntimeComponentAutoscalingMetricsObjectTarget
impl Sync for RuntimeComponentAutoscalingMetricsObjectTarget
impl Unpin for RuntimeComponentAutoscalingMetricsObjectTarget
impl UnwindSafe for RuntimeComponentAutoscalingMetricsObjectTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more