[][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 PartialEq<MetricValue> for MetricValue[src]

impl Clone for MetricValue[src]

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

Performs copy-assignment from source. Read more

impl Default for MetricValue[src]

impl Debug for MetricValue[src]

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

impl Serialize for MetricValue[src]

Auto Trait Implementations

impl Send for MetricValue

impl Sync for MetricValue

Blanket Implementations

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> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self