[][src]Struct rusoto_elbv2::Rule

pub struct Rule {
    pub actions: Option<Vec<Action>>,
    pub conditions: Option<Vec<RuleCondition>>,
    pub is_default: Option<bool>,
    pub priority: Option<String>,
    pub rule_arn: Option<String>,
}

Information about a rule.

Fields

actions: Option<Vec<Action>>

The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.

conditions: Option<Vec<RuleCondition>>

The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.

is_default: Option<bool>

Indicates whether this is the default rule.

priority: Option<String>

The priority.

rule_arn: Option<String>

The Amazon Resource Name (ARN) of the rule.

Trait Implementations

impl Clone for Rule[src]

impl Debug for Rule[src]

impl Default for Rule[src]

impl PartialEq<Rule> for Rule[src]

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