#[non_exhaustive]pub struct BgpNeighbor {
pub address: String,
pub description: Option<String>,
pub peer_as: Option<String>,
pub local_address: Option<String>,
pub options: BgpPeerOptions,
}Expand description
A neighbor <address> in a BGP group. Settings inherited from the group are not resolved.
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.address: String§description: Option<String>§peer_as: Option<String>§local_address: Option<String>§options: BgpPeerOptionsTrait Implementations§
Source§impl Clone for BgpNeighbor
impl Clone for BgpNeighbor
Source§impl Debug for BgpNeighbor
impl Debug for BgpNeighbor
impl Eq for BgpNeighbor
Source§impl PartialEq for BgpNeighbor
impl PartialEq for BgpNeighbor
impl StructuralPartialEq for BgpNeighbor
Auto Trait Implementations§
impl Forget for BgpNeighbor
impl Freeze for BgpNeighborwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<BgpFamily>: Freeze,
impl Move for BgpNeighbor
impl RefUnwindSafe for BgpNeighbor
impl Send for BgpNeighborwhere
RawVecInner: Send,
impl Sync for BgpNeighborwhere
RawVecInner: Sync,
impl Unpin for BgpNeighbor
impl UnsafeUnpin for BgpNeighborwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<BgpFamily>: UnsafeUnpin,
impl UnwindSafe for BgpNeighborwhere
RawVecInner: UnwindSafe,
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