Struct netlink_packet_route::route::RouteRealm
source · pub struct RouteRealm {
pub source: u16,
pub destination: u16,
}
Fields§
§source: u16
§destination: u16
Trait Implementations§
source§impl Clone for RouteRealm
impl Clone for RouteRealm
source§fn clone(&self) -> RouteRealm
fn clone(&self) -> RouteRealm
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 RouteRealm
impl Debug for RouteRealm
source§impl Emitable for RouteRealm
impl Emitable for RouteRealm
source§impl PartialEq for RouteRealm
impl PartialEq for RouteRealm
source§fn eq(&self, other: &RouteRealm) -> bool
fn eq(&self, other: &RouteRealm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RouteRealm
impl Eq for RouteRealm
impl StructuralPartialEq for RouteRealm
Auto Trait Implementations§
impl RefUnwindSafe for RouteRealm
impl Send for RouteRealm
impl Sync for RouteRealm
impl Unpin for RouteRealm
impl UnwindSafe for RouteRealm
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