pub struct BgpAddrL2 {
pub rd: BgpRD,
pub site: u16,
pub offset: u16,
pub range: u16,
pub labels: MplsLabels,
}
Expand description
BGP VPLS NLRI
Fields§
§rd: BgpRD
§site: u16
§offset: u16
§range: u16
§labels: MplsLabels
Trait Implementations§
source§impl BgpItemLong<BgpAddrL2> for BgpAddrL2
impl BgpItemLong<BgpAddrL2> for BgpAddrL2
source§impl<'de> Deserialize<'de> for BgpAddrL2
impl<'de> Deserialize<'de> for BgpAddrL2
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for BgpAddrL2
impl Ord for BgpAddrL2
source§impl PartialEq for BgpAddrL2
impl PartialEq for BgpAddrL2
source§impl PartialOrd for BgpAddrL2
impl PartialOrd for BgpAddrL2
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BgpAddrL2
impl StructuralEq for BgpAddrL2
impl StructuralPartialEq for BgpAddrL2
Auto Trait Implementations§
impl RefUnwindSafe for BgpAddrL2
impl Send for BgpAddrL2
impl Sync for BgpAddrL2
impl Unpin for BgpAddrL2
impl UnwindSafe for BgpAddrL2
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