#[non_exhaustive]pub struct PppPap {
pub access_profile: Option<String>,
pub has_default_pap_password: bool,
pub default_pap_password: Option<Secret>,
pub local_name: Option<String>,
pub has_local_password: bool,
pub local_password: Option<Secret>,
pub passive: bool,
}Expand description
The pap authentication of the PPP options.
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.access_profile: Option<String>§has_default_pap_password: boolA default-pap-password is configured.
default_pap_password: Option<Secret>The default-pap-password; None unless the secrets feature is enabled.
local_name: Option<String>§has_local_password: boolA local-password is configured.
local_password: Option<Secret>The local-password; None unless the secrets feature is enabled.
passive: boolTrait Implementations§
impl Eq for PppPap
impl StructuralPartialEq for PppPap
Auto Trait Implementations§
impl Forget for PppPap
impl Freeze for PppPap
impl Move for PppPap
impl RefUnwindSafe for PppPap
impl Send for PppPapwhere
RawVecInner: Send,
impl Sync for PppPapwhere
RawVecInner: Sync,
impl Unpin for PppPap
impl UnsafeUnpin for PppPap
impl UnwindSafe for PppPapwhere
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