#[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 MatchConditionwhere
RawVecInner: Send,
impl Sync for MatchConditionwhere
RawVecInner: Sync,
impl Unpin for MatchCondition
impl UnsafeUnpin for MatchConditionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MatchConditionwhere
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