Struct netlink_packet_generic::ctrl::nlas::PolicyAttr
source · pub struct PolicyAttr {
pub index: u16,
pub attr_policy: AttributePolicyAttr,
}Fields§
§index: u16§attr_policy: AttributePolicyAttrTrait Implementations§
source§impl Clone for PolicyAttr
impl Clone for PolicyAttr
source§fn clone(&self) -> PolicyAttr
fn clone(&self) -> PolicyAttr
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 PolicyAttr
impl Debug for PolicyAttr
source§impl Nla for PolicyAttr
impl Nla for PolicyAttr
source§impl PartialEq<PolicyAttr> for PolicyAttr
impl PartialEq<PolicyAttr> for PolicyAttr
source§fn eq(&self, other: &PolicyAttr) -> bool
fn eq(&self, other: &PolicyAttr) -> bool
This method tests for
self and other values to be equal, and is used
by ==.