pub struct LargeCommunitiesPathAttribute {
pub communities: Vec<LargeCommunity>,
}Fields§
§communities: Vec<LargeCommunity>Implementations§
Source§impl LargeCommunitiesPathAttribute
impl LargeCommunitiesPathAttribute
pub fn from_wire<'a>( ctx: &ParserContext, buf: &'a [u8], ) -> IResult<&'a [u8], Self, BgpParserError<&'a [u8]>>
pub fn to_wire(&self, ctx: &ParserContext, out: &mut BytesMut) -> Result<()>
pub fn wire_len(&self, _: &ParserContext) -> Result<u16>
Trait Implementations§
Source§impl Clone for LargeCommunitiesPathAttribute
impl Clone for LargeCommunitiesPathAttribute
Source§fn clone(&self) -> LargeCommunitiesPathAttribute
fn clone(&self) -> LargeCommunitiesPathAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for LargeCommunitiesPathAttribute
impl<'de> Deserialize<'de> for LargeCommunitiesPathAttribute
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
impl Eq for LargeCommunitiesPathAttribute
Source§impl PartialEq for LargeCommunitiesPathAttribute
impl PartialEq for LargeCommunitiesPathAttribute
Source§fn eq(&self, other: &LargeCommunitiesPathAttribute) -> bool
fn eq(&self, other: &LargeCommunitiesPathAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LargeCommunitiesPathAttribute
Auto Trait Implementations§
impl Freeze for LargeCommunitiesPathAttribute
impl RefUnwindSafe for LargeCommunitiesPathAttribute
impl Send for LargeCommunitiesPathAttribute
impl Sync for LargeCommunitiesPathAttribute
impl Unpin for LargeCommunitiesPathAttribute
impl UnsafeUnpin for LargeCommunitiesPathAttribute
impl UnwindSafe for LargeCommunitiesPathAttribute
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