pub struct IoArgoprojWorkflowV1alpha1Prometheus {
pub counter: Option<IoArgoprojWorkflowV1alpha1Counter>,
pub gauge: Option<IoArgoprojWorkflowV1alpha1Gauge>,
pub help: String,
pub histogram: Option<IoArgoprojWorkflowV1alpha1Histogram>,
pub labels: Vec<IoArgoprojWorkflowV1alpha1MetricLabel>,
pub name: String,
pub when: Option<String>,
}Expand description
Prometheus is a prometheus metric to be emitted
Fields§
§counter: Option<IoArgoprojWorkflowV1alpha1Counter>Counter is a counter metric
gauge: Option<IoArgoprojWorkflowV1alpha1Gauge>Gauge is a gauge metric
help: StringHelp is a string that describes the metric
histogram: Option<IoArgoprojWorkflowV1alpha1Histogram>Histogram is a histogram metric
labels: Vec<IoArgoprojWorkflowV1alpha1MetricLabel>Labels is a list of metric labels
name: StringName is the name of the metric
when: Option<String>When is a conditional statement that decides when to emit the metric
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1Prometheus
impl Clone for IoArgoprojWorkflowV1alpha1Prometheus
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1Prometheus
fn clone(&self) -> IoArgoprojWorkflowV1alpha1Prometheus
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 IoArgoprojWorkflowV1alpha1Prometheus
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1Prometheus
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<&IoArgoprojWorkflowV1alpha1Prometheus> for IoArgoprojWorkflowV1alpha1Prometheus
impl From<&IoArgoprojWorkflowV1alpha1Prometheus> for IoArgoprojWorkflowV1alpha1Prometheus
Source§fn from(value: &IoArgoprojWorkflowV1alpha1Prometheus) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1Prometheus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1Prometheus
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1Prometheus
impl Send for IoArgoprojWorkflowV1alpha1Prometheus
impl Sync for IoArgoprojWorkflowV1alpha1Prometheus
impl Unpin for IoArgoprojWorkflowV1alpha1Prometheus
impl UnwindSafe for IoArgoprojWorkflowV1alpha1Prometheus
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