Struct google_compute1::api::FirewallPolicyRuleMatcher[][src]

pub struct FirewallPolicyRuleMatcher {
    pub dest_ip_ranges: Option<Vec<String>>,
    pub layer4_configs: Option<Vec<FirewallPolicyRuleMatcherLayer4Config>>,
    pub src_ip_ranges: Option<Vec<String>>,
    pub src_secure_labels: Option<Vec<String>>,
}

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

dest_ip_ranges: Option<Vec<String>>

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 256.

layer4_configs: Option<Vec<FirewallPolicyRuleMatcherLayer4Config>>

Pairs of IP protocols and ports that the rule should match.

src_ip_ranges: Option<Vec<String>>

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256.

src_secure_labels: Option<Vec<String>>

List of firewall label values, which should be matched at the source of the traffic. Maximum number of source label values allowed is 256.

Trait Implementations

impl Clone for FirewallPolicyRuleMatcher[src]

impl Debug for FirewallPolicyRuleMatcher[src]

impl Default for FirewallPolicyRuleMatcher[src]

impl<'de> Deserialize<'de> for FirewallPolicyRuleMatcher[src]

impl Part for FirewallPolicyRuleMatcher[src]

impl Serialize for FirewallPolicyRuleMatcher[src]

Auto Trait Implementations

impl RefUnwindSafe for FirewallPolicyRuleMatcher[src]

impl Send for FirewallPolicyRuleMatcher[src]

impl Sync for FirewallPolicyRuleMatcher[src]

impl Unpin for FirewallPolicyRuleMatcher[src]

impl UnwindSafe for FirewallPolicyRuleMatcher[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.