pub struct MetricData {
pub metric_name: Option<String>,
pub timestamp: Option<f64>,
pub value: Option<f32>,
}
Expand description
The name, value, and date and time of a metric that was emitted to Amazon CloudWatch.
Fields§
§metric_name: Option<String>
The name of the metric.
timestamp: Option<f64>
The date and time that the algorithm emitted the metric.
value: Option<f32>
The value of the metric.
Trait Implementations§
Source§impl Clone for MetricData
impl Clone for MetricData
Source§fn clone(&self) -> MetricData
fn clone(&self) -> MetricData
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 MetricData
impl Debug for MetricData
Source§impl Default for MetricData
impl Default for MetricData
Source§fn default() -> MetricData
fn default() -> MetricData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricData
impl<'de> Deserialize<'de> for MetricData
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 MetricData
impl PartialEq for MetricData
impl StructuralPartialEq for MetricData
Auto Trait Implementations§
impl Freeze for MetricData
impl RefUnwindSafe for MetricData
impl Send for MetricData
impl Sync for MetricData
impl Unpin for MetricData
impl UnwindSafe for MetricData
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