#[non_exhaustive]pub struct BgpGroup {
pub name: String,
pub group_type: Option<String>,
pub description: Option<String>,
pub peer_as: Option<String>,
pub local_as: Option<String>,
pub local_address: Option<String>,
pub cluster: Option<String>,
pub families: Vec<String>,
pub import_policies: Vec<String>,
pub export_policies: Vec<String>,
pub neighbors: Vec<BgpNeighbor>,
}Expand description
A group <name>.
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.name: String§group_type: Option<String>internal or external.
description: Option<String>§peer_as: Option<String>§local_as: Option<String>§local_address: Option<String>§cluster: Option<String>Route-reflector cluster id.
families: Vec<String>Address families, e.g. "inet", "inet-vpn".
import_policies: Vec<String>§export_policies: Vec<String>§neighbors: Vec<BgpNeighbor>Trait Implementations§
impl Eq for BgpGroup
impl StructuralPartialEq for BgpGroup
Auto Trait Implementations§
impl Forget for BgpGroup
impl Freeze for BgpGroup
impl Move for BgpGroup
impl RefUnwindSafe for BgpGroup
impl Send for BgpGroup
impl Sync for BgpGroup
impl Unpin for BgpGroup
impl UnsafeUnpin for BgpGroup
impl UnwindSafe for BgpGroup
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