#[non_exhaustive]pub struct BgpRouteAsPath {
pub asns: Vec<i32>,
pub asns32: Vec<u32>,
pub type: Option<Type>,
/* private fields */
}Available on crate feature
routers only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.asns: Vec<i32>Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
asns32: Vec<u32>Output only. [Output only] ASNs in the path segment. This field is for better support of 32 bit ASNs as the other asns field suffers from overflow when the ASN is larger. When type is SEQUENCE, these are ordered.
type: Option<Type>Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
Implementations§
Source§impl BgpRouteAsPath
impl BgpRouteAsPath
Trait Implementations§
Source§impl Clone for BgpRouteAsPath
impl Clone for BgpRouteAsPath
Source§fn clone(&self) -> BgpRouteAsPath
fn clone(&self) -> BgpRouteAsPath
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 BgpRouteAsPath
impl Debug for BgpRouteAsPath
Source§impl Default for BgpRouteAsPath
impl Default for BgpRouteAsPath
Source§fn default() -> BgpRouteAsPath
fn default() -> BgpRouteAsPath
Returns the “default value” for a type. Read more
Source§impl Message for BgpRouteAsPath
impl Message for BgpRouteAsPath
Source§impl PartialEq for BgpRouteAsPath
impl PartialEq for BgpRouteAsPath
impl StructuralPartialEq for BgpRouteAsPath
Auto Trait Implementations§
impl Freeze for BgpRouteAsPath
impl RefUnwindSafe for BgpRouteAsPath
impl Send for BgpRouteAsPath
impl Sync for BgpRouteAsPath
impl Unpin for BgpRouteAsPath
impl UnwindSafe for BgpRouteAsPath
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