pub struct RuntimeMetricDefinition {
pub name: String,
pub description: String,
pub unit: String,
pub metric_type: MetricType,
}Expand description
Runtime metric definition
Fields§
§name: String§description: String§unit: String§metric_type: MetricTypeTrait Implementations§
Source§impl Clone for RuntimeMetricDefinition
impl Clone for RuntimeMetricDefinition
Source§fn clone(&self) -> RuntimeMetricDefinition
fn clone(&self) -> RuntimeMetricDefinition
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 Debug for RuntimeMetricDefinition
impl Debug for RuntimeMetricDefinition
Source§impl<'de> Deserialize<'de> for RuntimeMetricDefinition
impl<'de> Deserialize<'de> for RuntimeMetricDefinition
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
Auto Trait Implementations§
impl Freeze for RuntimeMetricDefinition
impl RefUnwindSafe for RuntimeMetricDefinition
impl Send for RuntimeMetricDefinition
impl Sync for RuntimeMetricDefinition
impl Unpin for RuntimeMetricDefinition
impl UnwindSafe for RuntimeMetricDefinition
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