#[non_exhaustive]pub struct MultiChassisProtection {
pub peer: String,
pub interface: Option<String>,
}Expand description
The multi-chassis-protection peer of an interface.
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.peer: StringThe address of the peer.
interface: Option<String>The interface on the peer, from interface.
Trait Implementations§
Source§impl Clone for MultiChassisProtection
impl Clone for MultiChassisProtection
Source§impl Debug for MultiChassisProtection
impl Debug for MultiChassisProtection
impl Eq for MultiChassisProtection
Source§impl PartialEq for MultiChassisProtection
impl PartialEq for MultiChassisProtection
impl StructuralPartialEq for MultiChassisProtection
Auto Trait Implementations§
impl Forget for MultiChassisProtection
impl Freeze for MultiChassisProtection
impl Move for MultiChassisProtection
impl RefUnwindSafe for MultiChassisProtection
impl Send for MultiChassisProtectionwhere
RawVecInner: Send,
impl Sync for MultiChassisProtectionwhere
RawVecInner: Sync,
impl Unpin for MultiChassisProtection
impl UnsafeUnpin for MultiChassisProtection
impl UnwindSafe for MultiChassisProtectionwhere
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