#[non_exhaustive]pub struct HostHeaderConditionConfig {
pub values: Option<Vec<String>>,
}
Expand description
Information about a host header condition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.values: Option<Vec<String>>
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
Implementations§
source§impl HostHeaderConditionConfig
impl HostHeaderConditionConfig
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none()
.
source§impl HostHeaderConditionConfig
impl HostHeaderConditionConfig
sourcepub fn builder() -> HostHeaderConditionConfigBuilder
pub fn builder() -> HostHeaderConditionConfigBuilder
Creates a new builder-style object to manufacture HostHeaderConditionConfig
.
Trait Implementations§
source§impl Clone for HostHeaderConditionConfig
impl Clone for HostHeaderConditionConfig
source§fn clone(&self) -> HostHeaderConditionConfig
fn clone(&self) -> HostHeaderConditionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HostHeaderConditionConfig
impl Debug for HostHeaderConditionConfig
source§impl PartialEq for HostHeaderConditionConfig
impl PartialEq for HostHeaderConditionConfig
source§fn eq(&self, other: &HostHeaderConditionConfig) -> bool
fn eq(&self, other: &HostHeaderConditionConfig) -> bool
self
and other
values to be equal, and is used
by ==
.