pub struct NetworkProtectRuleSetUpdate {
pub default_action: Option<NetworkProtectRuleSetDefaultAction>,
pub rules: Option<Vec<NetworkProtectRule>>,
}Expand description
NetworkProtectRuleSetUpdate : Attributes accepted when updating a rule set.
Fields§
§default_action: Option<NetworkProtectRuleSetDefaultAction>§rules: Option<Vec<NetworkProtectRule>>Rules in evaluation order; the first match wins.
Implementations§
Source§impl NetworkProtectRuleSetUpdate
impl NetworkProtectRuleSetUpdate
Sourcepub fn new() -> NetworkProtectRuleSetUpdate
pub fn new() -> NetworkProtectRuleSetUpdate
Attributes accepted when updating a rule set.
Trait Implementations§
Source§impl Clone for NetworkProtectRuleSetUpdate
impl Clone for NetworkProtectRuleSetUpdate
Source§impl Debug for NetworkProtectRuleSetUpdate
impl Debug for NetworkProtectRuleSetUpdate
Source§impl<'de> Deserialize<'de> for NetworkProtectRuleSetUpdate
impl<'de> Deserialize<'de> for NetworkProtectRuleSetUpdate
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
impl StructuralPartialEq for NetworkProtectRuleSetUpdate
Auto Trait Implementations§
impl Freeze for NetworkProtectRuleSetUpdate
impl RefUnwindSafe for NetworkProtectRuleSetUpdate
impl Send for NetworkProtectRuleSetUpdate
impl Sync for NetworkProtectRuleSetUpdate
impl Unpin for NetworkProtectRuleSetUpdate
impl UnsafeUnpin for NetworkProtectRuleSetUpdate
impl UnwindSafe for NetworkProtectRuleSetUpdate
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