Struct metrics_datadog_exporter::DataDogMetric [−][src]
pub struct DataDogMetric { pub metric_name: String, pub metric_type: DataDogMetricType, pub points: Vec<DataDogMetricValue>, pub timestamp: i64, pub tags: Vec<String>, }
Expand description
DataDog formatted metric
Fields
metric_name: String
Metric name
metric_type: DataDogMetricType
Metric type
points: Vec<DataDogMetricValue>
Metric values
timestamp: i64
Timestamp
Tags
Trait Implementations
impl Clone for DataDogMetric
[src]
impl Clone for DataDogMetric
[src]fn clone(&self) -> DataDogMetric
[src]
fn clone(&self) -> DataDogMetric
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for DataDogMetric
[src]
impl Debug for DataDogMetric
[src]impl<'de> Deserialize<'de> for DataDogMetric
[src]
impl<'de> Deserialize<'de> for DataDogMetric
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<DataDogMetric> for DataDogMetric
[src]
impl PartialEq<DataDogMetric> for DataDogMetric
[src]fn eq(&self, other: &DataDogMetric) -> bool
[src]
fn eq(&self, other: &DataDogMetric) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &DataDogMetric) -> bool
[src]
fn ne(&self, other: &DataDogMetric) -> bool
[src]This method tests for !=
.
impl PartialOrd<DataDogMetric> for DataDogMetric
[src]
impl PartialOrd<DataDogMetric> for DataDogMetric
[src]fn partial_cmp(&self, other: &DataDogMetric) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &DataDogMetric) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serialize for DataDogMetric
[src]
impl Serialize for DataDogMetric
[src]impl StructuralPartialEq for DataDogMetric
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataDogMetric
impl Send for DataDogMetric
impl Sync for DataDogMetric
impl Unpin for DataDogMetric
impl UnwindSafe for DataDogMetric
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,