#[non_exhaustive]pub struct LinkProtectionSubGroup {
pub name: String,
pub role: Option<String>,
}Expand description
A link-protection-sub-group <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§role: Option<String>primary or backup.
Trait Implementations§
Source§impl Clone for LinkProtectionSubGroup
impl Clone for LinkProtectionSubGroup
Source§impl Debug for LinkProtectionSubGroup
impl Debug for LinkProtectionSubGroup
impl Eq for LinkProtectionSubGroup
Source§impl PartialEq for LinkProtectionSubGroup
impl PartialEq for LinkProtectionSubGroup
impl StructuralPartialEq for LinkProtectionSubGroup
Auto Trait Implementations§
impl Forget for LinkProtectionSubGroup
impl Freeze for LinkProtectionSubGroup
impl Move for LinkProtectionSubGroup
impl RefUnwindSafe for LinkProtectionSubGroup
impl Send for LinkProtectionSubGroupwhere
RawVecInner: Send,
impl Sync for LinkProtectionSubGroupwhere
RawVecInner: Sync,
impl Unpin for LinkProtectionSubGroup
impl UnsafeUnpin for LinkProtectionSubGroup
impl UnwindSafe for LinkProtectionSubGroupwhere
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