pub struct CloudWatchMetric {
pub account_id: String,
pub region: String,
pub namespace: String,
pub metric_name: String,
pub dimensions: Vec<CloudWatchDimension>,
pub datapoint_count: usize,
pub latest: Option<CloudWatchLatestDatapoint>,
}Expand description
One unique metric series as exposed by
GET /_fakecloud/cloudwatch/metrics, keyed by
(account, region, namespace, metricName, dimensions).
Fields§
§account_id: String§region: String§namespace: String§metric_name: String§dimensions: Vec<CloudWatchDimension>§datapoint_count: usize§latest: Option<CloudWatchLatestDatapoint>Most-recent datapoint, or null if the series has none.
Trait Implementations§
Source§impl Clone for CloudWatchMetric
impl Clone for CloudWatchMetric
Source§fn clone(&self) -> CloudWatchMetric
fn clone(&self) -> CloudWatchMetric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudWatchMetric
impl Debug for CloudWatchMetric
Source§impl<'de> Deserialize<'de> for CloudWatchMetric
impl<'de> Deserialize<'de> for CloudWatchMetric
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
Auto Trait Implementations§
impl Freeze for CloudWatchMetric
impl RefUnwindSafe for CloudWatchMetric
impl Send for CloudWatchMetric
impl Sync for CloudWatchMetric
impl Unpin for CloudWatchMetric
impl UnsafeUnpin for CloudWatchMetric
impl UnwindSafe for CloudWatchMetric
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