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<OppolicyAttr> for OppolicyAttr
impl PartialEq<OppolicyAttr> 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 ==.