#[non_exhaustive]pub struct MatchCondition {
pub name: String,
pub values: Vec<String>,
}Expand description
One from match condition, e.g. destination-port bgp or source-address { 10.0.0.0/8; }.
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.name: String§values: Vec<String>Values as written, including any trailing modifier such as except; empty for a flag like
first-fragment.
Trait Implementations§
Source§impl Clone for MatchCondition
impl Clone for MatchCondition
Source§impl Debug for MatchCondition
impl Debug for MatchCondition
impl Eq for MatchCondition
Source§impl PartialEq for MatchCondition
impl PartialEq for MatchCondition
impl StructuralPartialEq for MatchCondition
Auto Trait Implementations§
impl Forget for MatchCondition
impl Freeze for MatchCondition
impl Move for MatchCondition
impl RefUnwindSafe for MatchCondition
impl Send for MatchCondition
impl Sync for MatchCondition
impl Unpin for MatchCondition
impl UnsafeUnpin for MatchCondition
impl UnwindSafe for MatchCondition
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