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
impl Copy for RulePortRange
impl Eq for RulePortRange
impl StructuralPartialEq for RulePortRange
Auto Trait Implementations§
impl Freeze for RulePortRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)