Struct netlink_packet_audit::rules::RuleMessage
source · #[non_exhaustive]pub struct RuleMessage {
pub flags: RuleFlags,
pub action: RuleAction,
pub fields: Vec<(RuleField, RuleFieldFlags)>,
pub syscalls: RuleSyscalls,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flags: RuleFlags
§action: RuleAction
§fields: Vec<(RuleField, RuleFieldFlags)>
§syscalls: RuleSyscalls
Implementations§
source§impl RuleMessage
impl RuleMessage
Trait Implementations§
source§impl Clone for RuleMessage
impl Clone for RuleMessage
source§fn clone(&self) -> RuleMessage
fn clone(&self) -> RuleMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuleMessage
impl Debug for RuleMessage
source§impl Default for RuleMessage
impl Default for RuleMessage
source§impl Emitable for RuleMessage
impl Emitable for RuleMessage
source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RuleBuffer<&'a T>> for RuleMessage
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RuleBuffer<&'a T>> for RuleMessage
source§fn parse(buf: &RuleBuffer<&'a T>) -> Result<Self, DecodeError>
fn parse(buf: &RuleBuffer<&'a T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<RuleMessage> for RuleMessage
impl PartialEq<RuleMessage> for RuleMessage
source§fn eq(&self, other: &RuleMessage) -> bool
fn eq(&self, other: &RuleMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RuleMessage
impl StructuralEq for RuleMessage
impl StructuralPartialEq for RuleMessage
Auto Trait Implementations§
impl RefUnwindSafe for RuleMessage
impl Send for RuleMessage
impl Sync for RuleMessage
impl Unpin for RuleMessage
impl UnwindSafe for RuleMessage
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