#[non_exhaustive]pub struct GenerateRoute {
pub prefix: String,
pub policy: Option<String>,
pub brief: bool,
pub full: bool,
pub discard: bool,
pub attributes: RouteAttributes,
}Expand description
A generated 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§attributes: RouteAttributesTrait Implementations§
Source§impl Clone for GenerateRoute
impl Clone for GenerateRoute
Source§impl Debug for GenerateRoute
impl Debug for GenerateRoute
impl Eq for GenerateRoute
Source§impl PartialEq for GenerateRoute
impl PartialEq for GenerateRoute
impl StructuralPartialEq for GenerateRoute
Auto Trait Implementations§
impl Forget for GenerateRoute
impl Freeze for GenerateRoute
impl Move for GenerateRoute
impl RefUnwindSafe for GenerateRoute
impl Send for GenerateRoutewhere
RawVecInner: Send,
impl Sync for GenerateRoutewhere
RawVecInner: Sync,
impl Unpin for GenerateRoute
impl UnsafeUnpin for GenerateRoutewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for GenerateRoutewhere
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