pub struct IpRange {
pub start_v4: Option<Ipv4Addr>,
pub start_v6: Option<Ipv6Addr>,
pub count: u128,
pub country: String,
}Fields§
§start_v4: Option<Ipv4Addr>§start_v6: Option<Ipv6Addr>§count: u128§country: StringTrait Implementations§
impl StructuralPartialEq for IpRange
Auto Trait Implementations§
impl Freeze for IpRange
impl RefUnwindSafe for IpRange
impl Send for IpRange
impl Sync for IpRange
impl Unpin for IpRange
impl UnwindSafe for IpRange
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