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