#[non_exhaustive]pub struct FlexAlgorithm {
pub id: String,
pub color: Option<String>,
pub use_transport_class: bool,
pub definition: Option<FlexAlgorithmDefinition>,
}Expand description
A flex-algorithm <id> of routing-options, a flexible algorithm definition (FAD) for IS-IS or OSPFv2.
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.id: String128 through 255.
color: Option<String>The BGP color associated with the algorithm.
use_transport_class: bool§definition: Option<FlexAlgorithmDefinition>Trait Implementations§
Source§impl Clone for FlexAlgorithm
impl Clone for FlexAlgorithm
Source§impl Debug for FlexAlgorithm
impl Debug for FlexAlgorithm
impl Eq for FlexAlgorithm
Source§impl PartialEq for FlexAlgorithm
impl PartialEq for FlexAlgorithm
impl StructuralPartialEq for FlexAlgorithm
Auto Trait Implementations§
impl Forget for FlexAlgorithm
impl Freeze for FlexAlgorithm
impl Move for FlexAlgorithm
impl RefUnwindSafe for FlexAlgorithm
impl Send for FlexAlgorithmwhere
RawVecInner: Send,
impl Sync for FlexAlgorithmwhere
RawVecInner: Sync,
impl Unpin for FlexAlgorithm
impl UnsafeUnpin for FlexAlgorithmwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for FlexAlgorithmwhere
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