pub struct GetOutput {
pub dhcp: Option<bool>,
pub enable: Option<bool>,
pub ipfilter: Option<bool>,
pub log_level_in: Option<LogLevelIn>,
pub log_level_out: Option<LogLevelOut>,
pub macfilter: Option<bool>,
pub ndp: Option<bool>,
pub policy_in: Option<PolicyIn>,
pub policy_out: Option<PolicyOut>,
pub radv: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§dhcp: Option<bool>
Enable DHCP.
enable: Option<bool>
Enable/disable firewall rules.
ipfilter: Option<bool>
Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface’s MAC address. For containers the configured IP addresses will be implicitly added.
log_level_in: Option<LogLevelIn>
Log level for incoming traffic.
log_level_out: Option<LogLevelOut>
Log level for outgoing traffic.
macfilter: Option<bool>
Enable/disable MAC address filter.
ndp: Option<bool>
Enable NDP (Neighbor Discovery Protocol).
policy_in: Option<PolicyIn>
Input policy.
policy_out: Option<PolicyOut>
Output policy.
radv: Option<bool>
Allow sending Router Advertisement.
additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOutput
impl<'de> Deserialize<'de> for GetOutput
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
Auto Trait Implementations§
impl Freeze for GetOutput
impl RefUnwindSafe for GetOutput
impl Send for GetOutput
impl Sync for GetOutput
impl Unpin for GetOutput
impl UnwindSafe for GetOutput
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