Struct netlink_packet_route::link::VfInfoBroadcast
source · #[non_exhaustive]pub struct VfInfoBroadcast {
pub addr: [u8; 32],
}
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.addr: [u8; 32]
Implementations§
Trait Implementations§
source§impl Clone for VfInfoBroadcast
impl Clone for VfInfoBroadcast
source§fn clone(&self) -> VfInfoBroadcast
fn clone(&self) -> VfInfoBroadcast
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 VfInfoBroadcast
impl Debug for VfInfoBroadcast
source§impl Default for VfInfoBroadcast
impl Default for VfInfoBroadcast
source§fn default() -> VfInfoBroadcast
fn default() -> VfInfoBroadcast
Returns the “default value” for a type. Read more
source§impl Emitable for VfInfoBroadcast
impl Emitable for VfInfoBroadcast
source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoBroadcastBuffer<&'a T>> for VfInfoBroadcast
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoBroadcastBuffer<&'a T>> for VfInfoBroadcast
source§fn parse(buf: &VfInfoBroadcastBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &VfInfoBroadcastBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for VfInfoBroadcast
impl PartialEq for VfInfoBroadcast
source§fn eq(&self, other: &VfInfoBroadcast) -> bool
fn eq(&self, other: &VfInfoBroadcast) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VfInfoBroadcast
impl Eq for VfInfoBroadcast
impl StructuralPartialEq for VfInfoBroadcast
Auto Trait Implementations§
impl RefUnwindSafe for VfInfoBroadcast
impl Send for VfInfoBroadcast
impl Sync for VfInfoBroadcast
impl Unpin for VfInfoBroadcast
impl UnwindSafe for VfInfoBroadcast
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