Struct dhcproto::v6::VendorOpts
source · pub struct VendorOpts {
pub num: u32,
pub opts: DhcpOptions,
}
Expand description
vendor options
Fields§
§num: u32
§opts: DhcpOptions
Trait Implementations§
source§impl Clone for VendorOpts
impl Clone for VendorOpts
source§fn clone(&self) -> VendorOpts
fn clone(&self) -> VendorOpts
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 VendorOpts
impl Debug for VendorOpts
source§impl PartialEq for VendorOpts
impl PartialEq for VendorOpts
source§fn eq(&self, other: &VendorOpts) -> bool
fn eq(&self, other: &VendorOpts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VendorOpts
impl StructuralEq for VendorOpts
impl StructuralPartialEq for VendorOpts
Auto Trait Implementations§
impl RefUnwindSafe for VendorOpts
impl Send for VendorOpts
impl Sync for VendorOpts
impl Unpin for VendorOpts
impl UnwindSafe for VendorOpts
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