#[non_exhaustive]pub struct PolicyOptions {
pub policy_statements: Vec<PolicyStatement>,
pub communities: Vec<Community>,
pub prefix_lists: Vec<PrefixList>,
pub as_paths: Vec<AsPath>,
pub as_path_groups: Vec<AsPathGroup>,
}Expand description
The top-level policy-options configuration.
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.policy_statements: Vec<PolicyStatement>§communities: Vec<Community>§prefix_lists: Vec<PrefixList>§as_paths: Vec<AsPath>§as_path_groups: Vec<AsPathGroup>Trait Implementations§
Source§impl Clone for PolicyOptions
impl Clone for PolicyOptions
Source§impl Debug for PolicyOptions
impl Debug for PolicyOptions
impl Eq for PolicyOptions
Source§impl PartialEq for PolicyOptions
impl PartialEq for PolicyOptions
impl StructuralPartialEq for PolicyOptions
Auto Trait Implementations§
impl Forget for PolicyOptions
impl Freeze for PolicyOptions
impl Move for PolicyOptions
impl RefUnwindSafe for PolicyOptions
impl Send for PolicyOptions
impl Sync for PolicyOptions
impl Unpin for PolicyOptions
impl UnsafeUnpin for PolicyOptions
impl UnwindSafe for PolicyOptions
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