pub struct NdiscPrefixInformation {
pub prefix_len: u8,
pub flags: PrefixInfoFlags,
pub valid_lifetime: Duration,
pub preferred_lifetime: Duration,
pub prefix: Ipv6Address,
}
Fields§
§prefix_len: u8
§flags: PrefixInfoFlags
§valid_lifetime: Duration
§preferred_lifetime: Duration
§prefix: Ipv6Address
Trait Implementations§
Source§impl Clone for PrefixInformation
impl Clone for PrefixInformation
Source§fn clone(&self) -> PrefixInformation
fn clone(&self) -> PrefixInformation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PrefixInformation
impl Debug for PrefixInformation
Source§impl PartialEq for PrefixInformation
impl PartialEq for PrefixInformation
impl Copy for PrefixInformation
impl Eq for PrefixInformation
impl StructuralPartialEq for PrefixInformation
Auto Trait Implementations§
impl Freeze for PrefixInformation
impl RefUnwindSafe for PrefixInformation
impl Send for PrefixInformation
impl Sync for PrefixInformation
impl Unpin for PrefixInformation
impl UnwindSafe for PrefixInformation
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