pub struct ExternalMetricStatus {
pub current: MetricValueStatus,
pub metric: MetricIdentifier,
}
Expand description
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
Fields§
§current: MetricValueStatus
current contains the current value for the given metric
metric: MetricIdentifier
metric identifies the target metric by name and selector
Trait Implementations§
Source§impl Clone for ExternalMetricStatus
impl Clone for ExternalMetricStatus
Source§fn clone(&self) -> ExternalMetricStatus
fn clone(&self) -> ExternalMetricStatus
Returns a copy 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 Debug for ExternalMetricStatus
impl Debug for ExternalMetricStatus
Source§impl DeepMerge for ExternalMetricStatus
impl DeepMerge for ExternalMetricStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for ExternalMetricStatus
impl Default for ExternalMetricStatus
Source§fn default() -> ExternalMetricStatus
fn default() -> ExternalMetricStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalMetricStatus
impl<'de> Deserialize<'de> for ExternalMetricStatus
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 ExternalMetricStatus
impl PartialEq for ExternalMetricStatus
Source§impl Serialize for ExternalMetricStatus
impl Serialize for ExternalMetricStatus
impl StructuralPartialEq for ExternalMetricStatus
Auto Trait Implementations§
impl Freeze for ExternalMetricStatus
impl RefUnwindSafe for ExternalMetricStatus
impl Send for ExternalMetricStatus
impl Sync for ExternalMetricStatus
impl Unpin for ExternalMetricStatus
impl UnwindSafe for ExternalMetricStatus
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