pub struct DeviceConfigMetricsExporterPrometheus {
pub service_monitor: Option<DeviceConfigMetricsExporterPrometheusServiceMonitor>,
}Expand description
Prometheus configuration for metrics exporter
Fields§
§service_monitor: Option<DeviceConfigMetricsExporterPrometheusServiceMonitor>ServiceMonitor configuration for Prometheus integration
Trait Implementations§
Source§impl Clone for DeviceConfigMetricsExporterPrometheus
impl Clone for DeviceConfigMetricsExporterPrometheus
Source§fn clone(&self) -> DeviceConfigMetricsExporterPrometheus
fn clone(&self) -> DeviceConfigMetricsExporterPrometheus
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 DeviceConfigMetricsExporterPrometheus
impl Default for DeviceConfigMetricsExporterPrometheus
Source§fn default() -> DeviceConfigMetricsExporterPrometheus
fn default() -> DeviceConfigMetricsExporterPrometheus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceConfigMetricsExporterPrometheus
impl<'de> Deserialize<'de> for DeviceConfigMetricsExporterPrometheus
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 DeviceConfigMetricsExporterPrometheus
impl PartialEq for DeviceConfigMetricsExporterPrometheus
Source§fn eq(&self, other: &DeviceConfigMetricsExporterPrometheus) -> bool
fn eq(&self, other: &DeviceConfigMetricsExporterPrometheus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceConfigMetricsExporterPrometheus
Auto Trait Implementations§
impl Freeze for DeviceConfigMetricsExporterPrometheus
impl RefUnwindSafe for DeviceConfigMetricsExporterPrometheus
impl Send for DeviceConfigMetricsExporterPrometheus
impl Sync for DeviceConfigMetricsExporterPrometheus
impl Unpin for DeviceConfigMetricsExporterPrometheus
impl UnwindSafe for DeviceConfigMetricsExporterPrometheus
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