pub struct DataDogMetric {
pub metric: String,
pub metric_type: DataDogMetricType,
pub points: Vec<DataDogMetricValue>,
pub timestamp: i64,
pub tags: Vec<String>,
}
Expand description
DataDog formatted metric
Fields§
§metric: String
Metric name
metric_type: DataDogMetricType
Metric type
points: Vec<DataDogMetricValue>
Metric values
timestamp: i64
Timestamp
Tags
Trait Implementations§
Source§impl Clone for DataDogMetric
impl Clone for DataDogMetric
Source§fn clone(&self) -> DataDogMetric
fn clone(&self) -> DataDogMetric
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 DataDogMetric
impl Debug for DataDogMetric
Source§impl<'de> Deserialize<'de> for DataDogMetric
impl<'de> Deserialize<'de> for DataDogMetric
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 DataDogMetric
impl PartialEq for DataDogMetric
Source§impl PartialOrd for DataDogMetric
impl PartialOrd for DataDogMetric
Source§impl Serialize for DataDogMetric
impl Serialize for DataDogMetric
impl StructuralPartialEq for DataDogMetric
Auto Trait Implementations§
impl Freeze for DataDogMetric
impl RefUnwindSafe for DataDogMetric
impl Send for DataDogMetric
impl Sync for DataDogMetric
impl Unpin for DataDogMetric
impl UnwindSafe for DataDogMetric
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more