[−][src]Struct rusoto_elbv2::HttpHeaderConditionConfig
Information about an HTTP header condition.
There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
Fields
http_header_name: Option<String>
The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.
values: Option<Vec<String>>
One or more strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If the same header appears multiple times in the request, we search them in order until a match is found.
If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
Trait Implementations
impl Clone for HttpHeaderConditionConfig
[src]
pub fn clone(&self) -> HttpHeaderConditionConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HttpHeaderConditionConfig
[src]
impl Default for HttpHeaderConditionConfig
[src]
pub fn default() -> HttpHeaderConditionConfig
[src]
impl PartialEq<HttpHeaderConditionConfig> for HttpHeaderConditionConfig
[src]
pub fn eq(&self, other: &HttpHeaderConditionConfig) -> bool
[src]
pub fn ne(&self, other: &HttpHeaderConditionConfig) -> bool
[src]
impl StructuralPartialEq for HttpHeaderConditionConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for HttpHeaderConditionConfig
[src]
impl Send for HttpHeaderConditionConfig
[src]
impl Sync for HttpHeaderConditionConfig
[src]
impl Unpin for HttpHeaderConditionConfig
[src]
impl UnwindSafe for HttpHeaderConditionConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,