[][src]Struct rusoto_mediastore::MetricPolicyRule

pub struct MetricPolicyRule {
    pub object_group: String,
    pub object_group_name: String,
}

A setting that enables metrics at the object level. Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also request a quota increase to allow up to 300 rules per policy.

Fields

object_group: String

A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.

object_group_name: String

A name that allows you to refer to the object group.

Trait Implementations

impl Clone for MetricPolicyRule[src]

impl Debug for MetricPolicyRule[src]

impl Default for MetricPolicyRule[src]

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

impl PartialEq<MetricPolicyRule> for MetricPolicyRule[src]

impl Serialize for MetricPolicyRule[src]

impl StructuralPartialEq for MetricPolicyRule[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.