#[non_exhaustive]pub struct OspfAuthentication {
pub simple_password: bool,
pub simple_password_value: Option<Secret>,
pub md5: Vec<OspfMd5Key>,
pub multi_active_md5: Vec<String>,
pub multi_active_md5_keys: Vec<OspfMd5Key>,
pub keychain: Option<String>,
}Expand description
The authentication of an OSPF interface or virtual link. The simple-password and the MD5 key values are read
only with the secrets feature.
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§simple_password_value: Option<Secret>The simple-password; None unless the secrets feature is enabled.
md5: Vec<OspfMd5Key>§multi_active_md5: Vec<String>Key identifiers of multi-active-md5.
multi_active_md5_keys: Vec<OspfMd5Key>The multi-active-md5 entries with their keys, in the order 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<u8>: Freeze,
PhantomData<OspfMd5Key>: Freeze,
PhantomData<String>: 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<u8>: UnsafeUnpin,
PhantomData<OspfMd5Key>: UnsafeUnpin,
PhantomData<String>: 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