Struct dfw::types::ContainerToWiderWorldRule[][src]

pub struct ContainerToWiderWorldRule {
    pub network: Option<String>,
    pub src_container: Option<String>,
    pub filter: Option<String>,
    pub action: String,
    pub external_network_interface: Option<String>,
}

Definition for a rule to be used in the container-to-wider-world section.

Fields

Network of the source container to apply the rule to.

Source container to apply the rule to.

Additional filter, which will be added to the iptables command.

Action to take (i.e. ACCEPT, DROP, REFUSE).

Specific external network interface to target.

Trait Implementations

impl Debug for ContainerToWiderWorldRule
[src]

Formats the value using the given formatter. Read more

impl Clone for ContainerToWiderWorldRule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ContainerToWiderWorldRule
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ContainerToWiderWorldRule
[src]

impl Hash for ContainerToWiderWorldRule
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations