pub struct DeviceConfigMetricsExporterConfig {
pub name: Option<String>,
}Expand description
optional configuration for metrics
Fields§
§name: Option<String>Name of the configMap that defines the list of metrics default list:[]
Trait Implementations§
Source§impl Clone for DeviceConfigMetricsExporterConfig
impl Clone for DeviceConfigMetricsExporterConfig
Source§fn clone(&self) -> DeviceConfigMetricsExporterConfig
fn clone(&self) -> DeviceConfigMetricsExporterConfig
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 DeviceConfigMetricsExporterConfig
impl Default for DeviceConfigMetricsExporterConfig
Source§fn default() -> DeviceConfigMetricsExporterConfig
fn default() -> DeviceConfigMetricsExporterConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceConfigMetricsExporterConfig
impl<'de> Deserialize<'de> for DeviceConfigMetricsExporterConfig
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 DeviceConfigMetricsExporterConfig
impl PartialEq for DeviceConfigMetricsExporterConfig
Source§fn eq(&self, other: &DeviceConfigMetricsExporterConfig) -> bool
fn eq(&self, other: &DeviceConfigMetricsExporterConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceConfigMetricsExporterConfig
Auto Trait Implementations§
impl Freeze for DeviceConfigMetricsExporterConfig
impl RefUnwindSafe for DeviceConfigMetricsExporterConfig
impl Send for DeviceConfigMetricsExporterConfig
impl Sync for DeviceConfigMetricsExporterConfig
impl Unpin for DeviceConfigMetricsExporterConfig
impl UnwindSafe for DeviceConfigMetricsExporterConfig
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