pub struct RequestInput {
pub sender_ip: Ipv4Addr,
pub sender_mac: MacAddr,
pub target_ip: Ipv4Addr,
pub target_mac: MacAddr,
}
Fields§
§sender_ip: Ipv4Addr
§sender_mac: MacAddr
§target_ip: Ipv4Addr
§target_mac: MacAddr
Trait Implementations§
Source§impl Clone for RequestInput
impl Clone for RequestInput
Source§fn clone(&self) -> RequestInput
fn clone(&self) -> RequestInput
Returns a duplicate 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 RequestInput
impl Debug for RequestInput
Source§impl Hash for RequestInput
impl Hash for RequestInput
Source§impl Ord for RequestInput
impl Ord for RequestInput
Source§fn cmp(&self, other: &RequestInput) -> Ordering
fn cmp(&self, other: &RequestInput) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequestInput
impl PartialEq for RequestInput
Source§impl PartialOrd for RequestInput
impl PartialOrd for RequestInput
impl Copy for RequestInput
impl Eq for RequestInput
impl StructuralPartialEq for RequestInput
Auto Trait Implementations§
impl Freeze for RequestInput
impl RefUnwindSafe for RequestInput
impl Send for RequestInput
impl Sync for RequestInput
impl Unpin for RequestInput
impl UnwindSafe for RequestInput
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