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