#[non_exhaustive]pub struct PathSelection {
pub always_compare_med: bool,
pub cisco_non_deterministic: bool,
pub external_router_id: bool,
pub as_path_ignore: bool,
pub l2vpn_use_bgp_rules: bool,
pub med_plus_igp: bool,
pub igp_multiplier: Option<String>,
pub med_multiplier: Option<String>,
}Expand description
The BGP path-selection settings, valid only directly under bgp.
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.always_compare_med: bool§cisco_non_deterministic: bool§external_router_id: bool§as_path_ignore: bool§l2vpn_use_bgp_rules: bool§med_plus_igp: boolmed-plus-igp { igp-multiplier ...; }.
igp_multiplier: Option<String>§med_multiplier: Option<String>Trait Implementations§
Source§impl Clone for PathSelection
impl Clone for PathSelection
Source§impl Debug for PathSelection
impl Debug for PathSelection
Source§impl Default for PathSelection
impl Default for PathSelection
impl Eq for PathSelection
Source§impl PartialEq for PathSelection
impl PartialEq for PathSelection
impl StructuralPartialEq for PathSelection
Auto Trait Implementations§
impl Forget for PathSelection
impl Freeze for PathSelection
impl Move for PathSelection
impl RefUnwindSafe for PathSelection
impl Send for PathSelectionwhere
RawVecInner: Send,
impl Sync for PathSelectionwhere
RawVecInner: Sync,
impl Unpin for PathSelection
impl UnsafeUnpin for PathSelection
impl UnwindSafe for PathSelectionwhere
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