pub struct MetricDefinition {
pub id: u32,
pub code: String,
pub name: String,
pub description: String,
}
Fields§
§id: u32
§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<MetricDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricDefinition, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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