#[non_exhaustive]pub struct PolicyCondition {
pub name: String,
pub if_route_exists: Option<IfRouteExists>,
pub route_active_on: Option<String>,
pub dynamic_db: bool,
}Expand description
A condition <name>, which a from condition match tests.
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§if_route_exists: Option<IfRouteExists>§route_active_on: Option<String>The route-active-on node, "node0" or "node1".
dynamic_db: boolTrait Implementations§
Source§impl Clone for PolicyCondition
impl Clone for PolicyCondition
Source§impl Debug for PolicyCondition
impl Debug for PolicyCondition
impl Eq for PolicyCondition
Source§impl PartialEq for PolicyCondition
impl PartialEq for PolicyCondition
impl StructuralPartialEq for PolicyCondition
Auto Trait Implementations§
impl Forget for PolicyCondition
impl Freeze for PolicyCondition
impl Move for PolicyCondition
impl RefUnwindSafe for PolicyCondition
impl Send for PolicyConditionwhere
RawVecInner: Send,
impl Sync for PolicyConditionwhere
RawVecInner: Sync,
impl Unpin for PolicyCondition
impl UnsafeUnpin for PolicyCondition
impl UnwindSafe for PolicyConditionwhere
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