pub enum CommonProviderPattern {
ISP {
provider_id: u16,
customer: u16,
allocation: u16,
},
Hosting {
provider_id: u16,
customer: u32,
},
Academic {
institution_id: u16,
department: u16,
},
Government {
agency_id: u16,
network: u16,
},
}
Expand description
Common provider patterns from BGP data
Variants§
ISP
Major ISP with known prefix
Hosting
Hosting provider
Academic
Academic/research networks
Government
Government networks
Trait Implementations§
Source§impl Clone for CommonProviderPattern
impl Clone for CommonProviderPattern
Source§fn clone(&self) -> CommonProviderPattern
fn clone(&self) -> CommonProviderPattern
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 CommonProviderPattern
impl Debug for CommonProviderPattern
Source§impl PartialEq for CommonProviderPattern
impl PartialEq for CommonProviderPattern
impl Copy for CommonProviderPattern
impl Eq for CommonProviderPattern
impl StructuralPartialEq for CommonProviderPattern
Auto Trait Implementations§
impl Freeze for CommonProviderPattern
impl RefUnwindSafe for CommonProviderPattern
impl Send for CommonProviderPattern
impl Sync for CommonProviderPattern
impl Unpin for CommonProviderPattern
impl UnwindSafe for CommonProviderPattern
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