#[non_exhaustive]pub struct PrefixList {
pub name: String,
pub prefixes: Vec<String>,
pub apply_path: Option<String>,
}Expand description
A prefix-list <name>.
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§prefixes: Vec<String>§apply_path: Option<String>Trait Implementations§
Source§impl Clone for PrefixList
impl Clone for PrefixList
Source§impl Debug for PrefixList
impl Debug for PrefixList
impl Eq for PrefixList
Source§impl PartialEq for PrefixList
impl PartialEq for PrefixList
impl StructuralPartialEq for PrefixList
Auto Trait Implementations§
impl Forget for PrefixList
impl Freeze for PrefixList
impl Move for PrefixList
impl RefUnwindSafe for PrefixList
impl Send for PrefixList
impl Sync for PrefixList
impl Unpin for PrefixList
impl UnsafeUnpin for PrefixList
impl UnwindSafe for PrefixList
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