[][src]Struct rusoto_cloudwatch::InsightRule

pub struct InsightRule {
    pub definition: String,
    pub name: String,
    pub schema: String,
    pub state: String,
}

This structure contains the definition for a Contributor Insights rule.

Fields

definition: String

The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.

name: String

The name of the rule.

schema: String

For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For built-in rules, this is {"Name": "ServiceLogRule", "Version": 1}

state: String

Indicates whether the rule is enabled or disabled.

Trait Implementations

impl Clone for InsightRule[src]

impl Debug for InsightRule[src]

impl Default for InsightRule[src]

impl PartialEq<InsightRule> for InsightRule[src]

impl StructuralPartialEq for InsightRule[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> 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.