pub struct ClusterFirewallSetOptionsRequest {
pub delete: Option<String>,
pub digest: Option<String>,
pub ebtables: Option<PveBoolean>,
pub enable: Option<i64>,
pub log_ratelimit: Option<Box<PveClusterFirewallLogRatelimitField>>,
pub policy_forward: Option<PvePolicyForwardEnum>,
pub policy_in: Option<PvePolicyInEnum>,
pub policy_out: Option<PvePolicyInEnum>,
}Fields§
§delete: Option<String>A list of settings you want to delete.
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
ebtables: Option<PveBoolean>Enable ebtables rules cluster wide.
enable: Option<i64>Enable or disable the firewall cluster wide.
log_ratelimit: Option<Box<PveClusterFirewallLogRatelimitField>>Log ratelimiting settings
policy_forward: Option<PvePolicyForwardEnum>Forward policy.
policy_in: Option<PvePolicyInEnum>Input policy.
policy_out: Option<PvePolicyInEnum>Output policy.
Implementations§
Trait Implementations§
Source§impl Clone for ClusterFirewallSetOptionsRequest
impl Clone for ClusterFirewallSetOptionsRequest
Source§fn clone(&self) -> ClusterFirewallSetOptionsRequest
fn clone(&self) -> ClusterFirewallSetOptionsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClusterFirewallSetOptionsRequest
impl Default for ClusterFirewallSetOptionsRequest
Source§fn default() -> ClusterFirewallSetOptionsRequest
fn default() -> ClusterFirewallSetOptionsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterFirewallSetOptionsRequest
impl<'de> Deserialize<'de> for ClusterFirewallSetOptionsRequest
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
Source§impl PartialEq for ClusterFirewallSetOptionsRequest
impl PartialEq for ClusterFirewallSetOptionsRequest
Source§fn eq(&self, other: &ClusterFirewallSetOptionsRequest) -> bool
fn eq(&self, other: &ClusterFirewallSetOptionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterFirewallSetOptionsRequest
Auto Trait Implementations§
impl Freeze for ClusterFirewallSetOptionsRequest
impl RefUnwindSafe for ClusterFirewallSetOptionsRequest
impl Send for ClusterFirewallSetOptionsRequest
impl Sync for ClusterFirewallSetOptionsRequest
impl Unpin for ClusterFirewallSetOptionsRequest
impl UnsafeUnpin for ClusterFirewallSetOptionsRequest
impl UnwindSafe for ClusterFirewallSetOptionsRequest
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