Struct bgp_models::bgp::Capability
source · pub struct Capability {
pub code: u8,
pub len: u8,
pub value: Vec<u8>,
pub capability_type: Option<BgpCapabilityType>,
}Expand description
BGP Capability.
Fields§
§code: u8§len: u8§value: Vec<u8>§capability_type: Option<BgpCapabilityType>Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
source§impl PartialEq<Capability> for Capability
impl PartialEq<Capability> for Capability
source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
This method tests for
self and other values to be equal, and is used
by ==.