#[non_exhaustive]pub struct DhcpAuthentication {
pub password: Option<Secret>,
pub username_include: Option<DhcpUsernameInclude>,
}Expand description
The authentication block. The password is 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.password: Option<Secret>None unless the secrets feature is enabled.
username_include: Option<DhcpUsernameInclude>Trait Implementations§
Source§impl Clone for DhcpAuthentication
impl Clone for DhcpAuthentication
Source§impl Debug for DhcpAuthentication
impl Debug for DhcpAuthentication
impl Eq for DhcpAuthentication
Source§impl PartialEq for DhcpAuthentication
impl PartialEq for DhcpAuthentication
impl StructuralPartialEq for DhcpAuthentication
Auto Trait Implementations§
impl Forget for DhcpAuthentication
impl Freeze for DhcpAuthentication
impl Move for DhcpAuthentication
impl RefUnwindSafe for DhcpAuthentication
impl Send for DhcpAuthenticationwhere
RawVecInner: Send,
impl Sync for DhcpAuthenticationwhere
RawVecInner: Sync,
impl Unpin for DhcpAuthentication
impl UnsafeUnpin for DhcpAuthentication
impl UnwindSafe for DhcpAuthenticationwhere
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