[][src]Struct rusoto_elbv2::RuleCondition

pub struct RuleCondition {
    pub field: Option<String>,
    pub host_header_config: Option<HostHeaderConditionConfig>,
    pub http_header_config: Option<HttpHeaderConditionConfig>,
    pub http_request_method_config: Option<HttpRequestMethodConditionConfig>,
    pub path_pattern_config: Option<PathPatternConditionConfig>,
    pub query_string_config: Option<QueryStringConditionConfig>,
    pub source_ip_config: Option<SourceIpConditionConfig>,
    pub values: Option<Vec<String>>,
}

Information about a condition for a rule.

Fields

field: Option<String>

The name of the field. The possible values are host-header and path-pattern.

host_header_config: Option<HostHeaderConditionConfig>http_header_config: Option<HttpHeaderConditionConfig>http_request_method_config: Option<HttpRequestMethodConditionConfig>path_pattern_config: Option<PathPatternConditionConfig>query_string_config: Option<QueryStringConditionConfig>source_ip_config: Option<SourceIpConditionConfig>values: Option<Vec<String>>

The condition value.

If the field name is host-header, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters. You can include up to three wildcard characters.

If the field name is path-pattern, you can specify a single path pattern (for example, /img/). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. You can include up to three wildcard characters.

Trait Implementations

impl PartialEq<RuleCondition> for RuleCondition[src]

impl Default for RuleCondition[src]

impl Clone for RuleCondition[src]

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

Performs copy-assignment from source. Read more

impl Debug for RuleCondition[src]

Auto Trait Implementations

impl Send for RuleCondition

impl Sync for RuleCondition

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self