#[non_exhaustive]pub struct IfRouteExists {
pub address: Option<String>,
pub table: Option<String>,
pub inet: Option<IfRouteExistsFamily>,
pub ccc: Option<IfRouteExistsFamily>,
}Expand description
An if-route-exists: the condition is true when the route is in the table.
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.address: Option<String>§table: Option<String>§inet: Option<IfRouteExistsFamily>address-family inet.
ccc: Option<IfRouteExistsFamily>address-family ccc.
Trait Implementations§
Source§impl Clone for IfRouteExists
impl Clone for IfRouteExists
Source§impl Debug for IfRouteExists
impl Debug for IfRouteExists
Source§impl Default for IfRouteExists
impl Default for IfRouteExists
impl Eq for IfRouteExists
Source§impl PartialEq for IfRouteExists
impl PartialEq for IfRouteExists
impl StructuralPartialEq for IfRouteExists
Auto Trait Implementations§
impl Forget for IfRouteExists
impl Freeze for IfRouteExists
impl Move for IfRouteExists
impl RefUnwindSafe for IfRouteExists
impl Send for IfRouteExistswhere
RawVecInner: Send,
impl Sync for IfRouteExistswhere
RawVecInner: Sync,
impl Unpin for IfRouteExists
impl UnsafeUnpin for IfRouteExists
impl UnwindSafe for IfRouteExistswhere
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