[][src]Struct rusoto_pi::MetricQuery

pub struct MetricQuery {
    pub filter: Option<HashMap<String, String>>,
    pub group_by: Option<DimensionGroup>,
    pub metric: String,
}

A single query to be processed. You must provide the metric to query. If no other parameters are specified, Performance Insights returns all of the data points for that metric. You can optionally request that the data points be aggregated by dimension group ( GroupBy), and return only those data points that match your criteria (Filter).

Fields

filter: Option<HashMap<String, String>>

One or more filters to apply in the request. Restrictions:

group_by: Option<DimensionGroup>

A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.

metric: String

The name of a Performance Insights metric to be measured.

Valid values for Metric are:

Trait Implementations

impl PartialEq<MetricQuery> for MetricQuery[src]

impl Default for MetricQuery[src]

impl Clone for MetricQuery[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MetricQuery[src]

impl Serialize for MetricQuery[src]

Auto Trait Implementations

impl Send for MetricQuery

impl Sync for MetricQuery

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self