pub struct Entry<T> {
pub subnet: T,
pub as_number: u32,
pub country: String,
pub owner: String,
}
Expand description
An entry in the database.
Fields§
§subnet: T
§as_number: u32
§country: String
§owner: String
Trait Implementations§
Source§impl<T: Ord> Ord for Entry<T>
impl<T: Ord> Ord for Entry<T>
Source§impl<T: PartialOrd> PartialOrd for Entry<T>
impl<T: PartialOrd> PartialOrd for Entry<T>
impl<T: Eq> Eq for Entry<T>
impl<T> StructuralPartialEq for Entry<T>
Auto Trait Implementations§
impl<T> Freeze for Entry<T>where
T: Freeze,
impl<T> RefUnwindSafe for Entry<T>where
T: RefUnwindSafe,
impl<T> Send for Entry<T>where
T: Send,
impl<T> Sync for Entry<T>where
T: Sync,
impl<T> Unpin for Entry<T>where
T: Unpin,
impl<T> UnwindSafe for Entry<T>where
T: UnwindSafe,
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