pub struct MetricDefinition {
pub id: MetricId,
pub code: String,
pub name: String,
pub description: String,
}
Fields§
§id: MetricId
§code: String
§name: String
§description: String
Implementations§
Trait Implementations§
Source§impl Clone for MetricDefinition
impl Clone for MetricDefinition
Source§fn clone(&self) -> MetricDefinition
fn clone(&self) -> MetricDefinition
Returns a copy 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 MetricDefinition
impl Debug for MetricDefinition
Source§impl<'de> Deserialize<'de> for MetricDefinition
impl<'de> Deserialize<'de> for MetricDefinition
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 MetricDefinition
impl PartialEq for MetricDefinition
Source§impl Serialize for MetricDefinition
impl Serialize for MetricDefinition
impl StructuralPartialEq for MetricDefinition
Auto Trait Implementations§
impl Freeze for MetricDefinition
impl RefUnwindSafe for MetricDefinition
impl Send for MetricDefinition
impl Sync for MetricDefinition
impl Unpin for MetricDefinition
impl UnwindSafe for MetricDefinition
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