#[non_exhaustive]pub struct AggregateRoute {
pub prefix: String,
pub policy: Option<String>,
pub brief: bool,
pub full: bool,
pub discard: bool,
pub next_table: Option<String>,
pub algorithm: Option<String>,
pub attributes: RouteAttributes,
}Expand description
An aggregate route <prefix>. as-path is not extracted.
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.prefix: String§policy: Option<String>The policy that selects the contributing routes.
brief: bool§full: bool§discard: bool§next_table: Option<String>§algorithm: Option<String>§attributes: RouteAttributesTrait Implementations§
Source§impl Clone for AggregateRoute
impl Clone for AggregateRoute
Source§impl Debug for AggregateRoute
impl Debug for AggregateRoute
impl Eq for AggregateRoute
Source§impl PartialEq for AggregateRoute
impl PartialEq for AggregateRoute
impl StructuralPartialEq for AggregateRoute
Auto Trait Implementations§
impl Forget for AggregateRoute
impl Freeze for AggregateRoute
impl Move for AggregateRoute
impl RefUnwindSafe for AggregateRoute
impl Send for AggregateRoutewhere
RawVecInner: Send,
impl Sync for AggregateRoutewhere
RawVecInner: Sync,
impl Unpin for AggregateRoute
impl UnsafeUnpin for AggregateRoutewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for AggregateRoutewhere
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