pub struct IpRecord {
pub ip: IpAddr,
pub prefix_len: u8,
}
Expand description
An IP address paired with its prefix length (network mask).
Fields§
§ip: IpAddr
§prefix_len: u8
Trait Implementations§
impl Eq for IpRecord
impl StructuralPartialEq for IpRecord
Auto Trait Implementations§
impl Freeze for IpRecord
impl RefUnwindSafe for IpRecord
impl Send for IpRecord
impl Sync for IpRecord
impl Unpin for IpRecord
impl UnwindSafe for IpRecord
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