Struct netlink_packet_generic::ctrl::nlas::OppolicyAttr
source · pub struct OppolicyAttr {
pub cmd: u8,
pub policy_idx: Vec<OppolicyIndexAttr>,
}
Fields§
§cmd: u8
§policy_idx: Vec<OppolicyIndexAttr>
Trait Implementations§
source§impl Clone for OppolicyAttr
impl Clone for OppolicyAttr
source§fn clone(&self) -> OppolicyAttr
fn clone(&self) -> OppolicyAttr
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 OppolicyAttr
impl Debug for OppolicyAttr
source§impl Nla for OppolicyAttr
impl Nla for OppolicyAttr
source§impl PartialEq for OppolicyAttr
impl PartialEq for OppolicyAttr
source§fn eq(&self, other: &OppolicyAttr) -> bool
fn eq(&self, other: &OppolicyAttr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OppolicyAttr
impl StructuralPartialEq for OppolicyAttr
Auto Trait Implementations§
impl Freeze for OppolicyAttr
impl RefUnwindSafe for OppolicyAttr
impl Send for OppolicyAttr
impl Sync for OppolicyAttr
impl Unpin for OppolicyAttr
impl UnwindSafe for OppolicyAttr
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