pub struct NetworkProtectRuleSet {
pub default_action: NetworkProtectRuleSetDefaultAction,
pub rules: Vec<NetworkProtectRuleResponse>,
}Expand description
NetworkProtectRuleSet : Shared ordered rules and default action.
Fields§
§default_action: NetworkProtectRuleSetDefaultAction§rules: Vec<NetworkProtectRuleResponse>Rules in evaluation order with read-only timestamps.
Implementations§
Source§impl NetworkProtectRuleSet
impl NetworkProtectRuleSet
Sourcepub fn new(
default_action: NetworkProtectRuleSetDefaultAction,
rules: Vec<NetworkProtectRuleResponse>,
) -> NetworkProtectRuleSet
pub fn new( default_action: NetworkProtectRuleSetDefaultAction, rules: Vec<NetworkProtectRuleResponse>, ) -> NetworkProtectRuleSet
Shared ordered rules and default action.
Trait Implementations§
Source§impl Clone for NetworkProtectRuleSet
impl Clone for NetworkProtectRuleSet
Source§impl Debug for NetworkProtectRuleSet
impl Debug for NetworkProtectRuleSet
Source§impl Default for NetworkProtectRuleSet
impl Default for NetworkProtectRuleSet
Source§impl<'de> Deserialize<'de> for NetworkProtectRuleSet
impl<'de> Deserialize<'de> for NetworkProtectRuleSet
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 NetworkProtectRuleSet
impl PartialEq for NetworkProtectRuleSet
Source§impl Serialize for NetworkProtectRuleSet
impl Serialize for NetworkProtectRuleSet
impl StructuralPartialEq for NetworkProtectRuleSet
Auto Trait Implementations§
impl Freeze for NetworkProtectRuleSet
impl RefUnwindSafe for NetworkProtectRuleSet
impl Send for NetworkProtectRuleSet
impl Sync for NetworkProtectRuleSet
impl Unpin for NetworkProtectRuleSet
impl UnsafeUnpin for NetworkProtectRuleSet
impl UnwindSafe for NetworkProtectRuleSet
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