pub struct IoArgoprojWorkflowV1alpha1MetricLabel {
pub key: String,
pub value: String,
}Expand description
MetricLabel is a single label for a prometheus metric
Fields§
§key: String§value: StringTrait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1MetricLabel
impl Clone for IoArgoprojWorkflowV1alpha1MetricLabel
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1MetricLabel
fn clone(&self) -> IoArgoprojWorkflowV1alpha1MetricLabel
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<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1MetricLabel
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1MetricLabel
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 From<&IoArgoprojWorkflowV1alpha1MetricLabel> for IoArgoprojWorkflowV1alpha1MetricLabel
impl From<&IoArgoprojWorkflowV1alpha1MetricLabel> for IoArgoprojWorkflowV1alpha1MetricLabel
Source§fn from(value: &IoArgoprojWorkflowV1alpha1MetricLabel) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1MetricLabel) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1MetricLabel
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1MetricLabel
impl Send for IoArgoprojWorkflowV1alpha1MetricLabel
impl Sync for IoArgoprojWorkflowV1alpha1MetricLabel
impl Unpin for IoArgoprojWorkflowV1alpha1MetricLabel
impl UnwindSafe for IoArgoprojWorkflowV1alpha1MetricLabel
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