pub struct IpParts {
pub input: String,
pub kind: IpKind,
}Expand description
Stores an original IP-like input with its detected kind.
Fields§
§input: StringOriginal input value.
kind: IpKindDetected IP kind.
Trait Implementations§
impl Eq for IpParts
impl StructuralPartialEq for IpParts
Auto Trait Implementations§
impl Freeze for IpParts
impl RefUnwindSafe for IpParts
impl Send for IpParts
impl Sync for IpParts
impl Unpin for IpParts
impl UnsafeUnpin for IpParts
impl UnwindSafe for IpParts
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