[][src]Struct rusoto_iot::MetricValue

pub struct MetricValue {
    pub cidrs: Option<Vec<String>>,
    pub count: Option<i64>,
    pub ports: Option<Vec<i64>>,
}

The value to be compared with the metric.

Fields

cidrs: Option<Vec<String>>

If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

count: Option<i64>

If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

ports: Option<Vec<i64>>

If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

Trait Implementations

impl Clone for MetricValue[src]

impl Default for MetricValue[src]

impl PartialEq<MetricValue> for MetricValue[src]

impl Debug for MetricValue[src]

impl Serialize for MetricValue[src]

impl<'de> Deserialize<'de> for MetricValue[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self