#[non_exhaustive]pub struct FlexAlgorithmDefinition {
pub spf: bool,
pub strict_spf: bool,
pub metric_type: Option<String>,
pub priority: Option<String>,
pub admin_group_include_any: Vec<String>,
pub admin_group_include_all: Vec<String>,
pub admin_group_exclude: Vec<String>,
pub exclude_srlg: Vec<String>,
pub use_flex_algorithm_prefix_metric: bool,
}Expand description
The definition of a FlexAlgorithm. The exclude-srlg and use-flex-algorithm-prefix-metric options are
only documented for IS-IS.
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.spf: bool§strict_spf: bool§metric_type: Option<String>delay-metric, igp-metric or te-metric.
priority: Option<String>0 through 255.
admin_group_include_any: Vec<String>Admin group names from admin-group include-any.
admin_group_include_all: Vec<String>§admin_group_exclude: Vec<String>§exclude_srlg: Vec<String>§use_flex_algorithm_prefix_metric: boolTrait Implementations§
Source§impl Clone for FlexAlgorithmDefinition
impl Clone for FlexAlgorithmDefinition
Source§impl Debug for FlexAlgorithmDefinition
impl Debug for FlexAlgorithmDefinition
Source§impl Default for FlexAlgorithmDefinition
impl Default for FlexAlgorithmDefinition
impl Eq for FlexAlgorithmDefinition
Source§impl PartialEq for FlexAlgorithmDefinition
impl PartialEq for FlexAlgorithmDefinition
impl StructuralPartialEq for FlexAlgorithmDefinition
Auto Trait Implementations§
impl Forget for FlexAlgorithmDefinition
impl Freeze for FlexAlgorithmDefinition
impl Move for FlexAlgorithmDefinition
impl RefUnwindSafe for FlexAlgorithmDefinition
impl Send for FlexAlgorithmDefinitionwhere
RawVecInner: Send,
impl Sync for FlexAlgorithmDefinitionwhere
RawVecInner: Sync,
impl Unpin for FlexAlgorithmDefinition
impl UnsafeUnpin for FlexAlgorithmDefinitionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for FlexAlgorithmDefinitionwhere
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