pub struct PutParams {
pub delete: Option<String>,
pub digest: Option<String>,
pub ebtables: Option<bool>,
pub enable: Option<u64>,
pub log_ratelimit: Option<String>,
pub policy_in: Option<PolicyIn>,
pub policy_out: Option<PolicyOut>,
pub additional_properties: HashMap<String, Value>,
}
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<bool>
Enable ebtables rules cluster wide.
enable: Option<u64>
Enable or disable the firewall cluster wide.
log_ratelimit: Option<String>
Log ratelimiting settings
policy_in: Option<PolicyIn>
Input policy.
policy_out: Option<PolicyOut>
Output policy.
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