#[non_exhaustive]pub struct OspfAuthentication {
pub simple_password: bool,
pub md5: Vec<OspfMd5Key>,
pub multi_active_md5: Vec<String>,
pub keychain: Option<String>,
}Expand description
The authentication of an OSPF interface or virtual link. The simple-password and the MD5 key values are never extracted.
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.simple_password: bool§md5: Vec<OspfMd5Key>§multi_active_md5: Vec<String>Key identifiers of multi-active-md5.
keychain: Option<String>The name of the key chain, from keychain (23.4 and later).
Trait Implementations§
Source§impl Clone for OspfAuthentication
impl Clone for OspfAuthentication
Source§impl Debug for OspfAuthentication
impl Debug for OspfAuthentication
Source§impl Default for OspfAuthentication
impl Default for OspfAuthentication
impl Eq for OspfAuthentication
Source§impl PartialEq for OspfAuthentication
impl PartialEq for OspfAuthentication
impl StructuralPartialEq for OspfAuthentication
Auto Trait Implementations§
impl Forget for OspfAuthentication
impl Freeze for OspfAuthenticationwhere
*const u8 is !null: Freeze,
PhantomData<OspfMd5Key>: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
impl Move for OspfAuthentication
impl RefUnwindSafe for OspfAuthentication
impl Send for OspfAuthenticationwhere
RawVecInner: Send,
impl Sync for OspfAuthenticationwhere
RawVecInner: Sync,
impl Unpin for OspfAuthentication
impl UnsafeUnpin for OspfAuthenticationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OspfMd5Key>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for OspfAuthenticationwhere
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