#[non_exhaustive]pub struct PolicyDefaults {
pub asregex_optimize: Option<String>,
pub route_filter: Option<String>,
}Expand description
The defaults of policy-options or of one policy statement.
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.asregex_optimize: Option<String>"optimize" or "no-optimize".
route_filter: Option<String>"walkup" or "no-walkup".
Trait Implementations§
Source§impl Clone for PolicyDefaults
impl Clone for PolicyDefaults
Source§impl Debug for PolicyDefaults
impl Debug for PolicyDefaults
Source§impl Default for PolicyDefaults
impl Default for PolicyDefaults
impl Eq for PolicyDefaults
Source§impl PartialEq for PolicyDefaults
impl PartialEq for PolicyDefaults
impl StructuralPartialEq for PolicyDefaults
Auto Trait Implementations§
impl Forget for PolicyDefaults
impl Freeze for PolicyDefaults
impl Move for PolicyDefaults
impl RefUnwindSafe for PolicyDefaults
impl Send for PolicyDefaultswhere
RawVecInner: Send,
impl Sync for PolicyDefaultswhere
RawVecInner: Sync,
impl Unpin for PolicyDefaults
impl UnsafeUnpin for PolicyDefaults
impl UnwindSafe for PolicyDefaultswhere
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