#[non_exhaustive]pub struct DuplicateProtection {
pub include_relay_session_id: bool,
}Expand description
The duplicate-protection of the PPPoE underlying 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.include_relay_session_id: boolinclude { relay-session-id; }.
Trait Implementations§
Source§impl Clone for DuplicateProtection
impl Clone for DuplicateProtection
Source§impl Debug for DuplicateProtection
impl Debug for DuplicateProtection
impl Eq for DuplicateProtection
Source§impl PartialEq for DuplicateProtection
impl PartialEq for DuplicateProtection
impl StructuralPartialEq for DuplicateProtection
Auto Trait Implementations§
impl Forget for DuplicateProtection
impl Freeze for DuplicateProtection
impl Move for DuplicateProtection
impl RefUnwindSafe for DuplicateProtection
impl Send for DuplicateProtection
impl Sync for DuplicateProtection
impl Unpin for DuplicateProtection
impl UnsafeUnpin for DuplicateProtection
impl UnwindSafe for DuplicateProtection
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