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: Option<String>
Network of the source container to apply the rule to.
src_container: Option<String>
Source container to apply the rule to.
filter: Option<String>
Additional filter, which will be added to the iptables command.
action: String
Action to take (i.e. ACCEPT
, DROP
, REFUSE
).
external_network_interface: Option<String>
Specific external network interface to target.
Trait Implementations
impl Debug for ContainerToWiderWorldRule
[src]
impl Debug for ContainerToWiderWorldRule
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ContainerToWiderWorldRule
[src]
impl Clone for ContainerToWiderWorldRule
fn clone(&self) -> ContainerToWiderWorldRule
[src]
fn clone(&self) -> ContainerToWiderWorldRule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ContainerToWiderWorldRule
[src]
impl PartialEq for ContainerToWiderWorldRule
fn eq(&self, other: &ContainerToWiderWorldRule) -> bool
[src]
fn eq(&self, other: &ContainerToWiderWorldRule) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ContainerToWiderWorldRule) -> bool
[src]
fn ne(&self, other: &ContainerToWiderWorldRule) -> bool
This method tests for !=
.
impl Eq for ContainerToWiderWorldRule
[src]
impl Eq for ContainerToWiderWorldRule
impl Hash for ContainerToWiderWorldRule
[src]
impl Hash for ContainerToWiderWorldRule
Auto Trait Implementations
impl Send for ContainerToWiderWorldRule
impl Send for ContainerToWiderWorldRule
impl Sync for ContainerToWiderWorldRule
impl Sync for ContainerToWiderWorldRule