#[non_exhaustive]pub struct PppChap {
pub access_profile: Option<String>,
pub challenge_length_minimum: Option<String>,
pub challenge_length_maximum: Option<String>,
pub has_default_chap_secret: bool,
pub default_chap_secret: Option<Secret>,
pub local_name: Option<String>,
pub passive: bool,
}Expand description
The chap 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>§challenge_length_minimum: Option<String>§challenge_length_maximum: Option<String>§has_default_chap_secret: boolA default-chap-secret is configured.
default_chap_secret: Option<Secret>The default-chap-secret; None unless the secrets feature is enabled.
local_name: Option<String>§passive: boolTrait Implementations§
impl Eq for PppChap
impl StructuralPartialEq for PppChap
Auto Trait Implementations§
impl Forget for PppChap
impl Freeze for PppChap
impl Move for PppChap
impl RefUnwindSafe for PppChap
impl Send for PppChapwhere
RawVecInner: Send,
impl Sync for PppChapwhere
RawVecInner: Sync,
impl Unpin for PppChap
impl UnsafeUnpin for PppChap
impl UnwindSafe for PppChapwhere
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