pub struct SecurityPolicyRuleMatcher {
pub config: Option<SecurityPolicyRuleMatcherConfig>,
pub versioned_expr: Option<String>,
}Expand description
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
This type is not used in any activity, and only used as part of another schema.
Fields§
§config: Option<SecurityPolicyRuleMatcherConfig>The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
versioned_expr: Option<String>Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Trait Implementations§
source§impl Clone for SecurityPolicyRuleMatcher
impl Clone for SecurityPolicyRuleMatcher
source§fn clone(&self) -> SecurityPolicyRuleMatcher
fn clone(&self) -> SecurityPolicyRuleMatcher
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SecurityPolicyRuleMatcher
impl Debug for SecurityPolicyRuleMatcher
source§impl Default for SecurityPolicyRuleMatcher
impl Default for SecurityPolicyRuleMatcher
source§fn default() -> SecurityPolicyRuleMatcher
fn default() -> SecurityPolicyRuleMatcher
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SecurityPolicyRuleMatcher
impl<'de> Deserialize<'de> for SecurityPolicyRuleMatcher
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for SecurityPolicyRuleMatcher
Auto Trait Implementations§
impl Freeze for SecurityPolicyRuleMatcher
impl RefUnwindSafe for SecurityPolicyRuleMatcher
impl Send for SecurityPolicyRuleMatcher
impl Sync for SecurityPolicyRuleMatcher
impl Unpin for SecurityPolicyRuleMatcher
impl UnwindSafe for SecurityPolicyRuleMatcher
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more