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