[−][src]Struct rusoto_cloudwatch::MetricDataResult
A GetMetricData
call returns an array of MetricDataResult
structures. Each of these structures includes the data points for that metric, along with the timestamps of those data points and other identifying information.
Fields
id: Option<String>
The short name you specified to represent this metric.
label: Option<String>
The human-readable label associated with the data.
messages: Option<Vec<MessageData>>
A list of messages with additional information about the data returned.
status_code: Option<String>
The status of the returned data. Complete
indicates that all data points in the requested time range were returned. PartialData
means that an incomplete set of data points were returned. You can use the NextToken
value that was returned and repeat your request to get more data points. NextToken
is not returned if you are performing a math expression. InternalError
indicates that an error occurred. Retry your request using NextToken
, if present.
timestamps: Option<Vec<String>>
The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches the number of values and the value for Timestamps[x] is Values[x].
values: Option<Vec<f64>>
The data points for the metric corresponding to Timestamps
. The number of values always matches the number of timestamps and the timestamp for Values[x] is Timestamps[x].
Trait Implementations
impl Clone for MetricDataResult
[src]
pub fn clone(&self) -> MetricDataResult
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MetricDataResult
[src]
impl Default for MetricDataResult
[src]
pub fn default() -> MetricDataResult
[src]
impl PartialEq<MetricDataResult> for MetricDataResult
[src]
pub fn eq(&self, other: &MetricDataResult) -> bool
[src]
pub fn ne(&self, other: &MetricDataResult) -> bool
[src]
impl StructuralPartialEq for MetricDataResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for MetricDataResult
[src]
impl Send for MetricDataResult
[src]
impl Sync for MetricDataResult
[src]
impl Unpin for MetricDataResult
[src]
impl UnwindSafe for MetricDataResult
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,