pub struct AsPathSegment {
pub segment_type: u32,
pub values: Vec<u32>,
}Fields§
§segment_type: u32§values: Vec<u32>Trait Implementations§
Source§impl Clone for AsPathSegment
impl Clone for AsPathSegment
Source§fn clone(&self) -> AsPathSegment
fn clone(&self) -> AsPathSegment
Returns a duplicate 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 AsPathSegment
impl Debug for AsPathSegment
Source§impl<'de> Deserialize<'de> for AsPathSegment
impl<'de> Deserialize<'de> for AsPathSegment
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 PartialEq for AsPathSegment
impl PartialEq for AsPathSegment
Source§impl Serialize for AsPathSegment
impl Serialize for AsPathSegment
impl Eq for AsPathSegment
impl StructuralPartialEq for AsPathSegment
Auto Trait Implementations§
impl Freeze for AsPathSegment
impl RefUnwindSafe for AsPathSegment
impl Send for AsPathSegment
impl Sync for AsPathSegment
impl Unpin for AsPathSegment
impl UnsafeUnpin for AsPathSegment
impl UnwindSafe for AsPathSegment
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