pub struct PutParams {Show 13 fields
pub delete: Option<String>,
pub dhcp: Option<bool>,
pub digest: Option<String>,
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§
§delete: Option<String>
A list of settings you want to delete.
dhcp: Option<bool>
Enable DHCP.
digest: Option<String>
Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
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 PutParams
impl<'de> Deserialize<'de> for PutParams
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 PutParams
impl RefUnwindSafe for PutParams
impl Send for PutParams
impl Sync for PutParams
impl Unpin for PutParams
impl UnwindSafe for PutParams
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