Struct cymrust::CymruIP2ASN[][src]

pub struct CymruIP2ASN {
    pub ip_addr: IpAddr,
    pub bgp_prefix: String,
    pub as_number: AsNumber,
    pub as_name: String,
    pub country_code: String,
    pub registry: String,
    pub allocated: Option<String>,
    pub expires: SystemTime,
}

IP-to-ASN mapping information

Fields

ip_addr: IpAddr

IP Address used in query

bgp_prefix: String

BGP prefix

as_number: AsNumber

BGP Origin's Autonomous System (AS) number

as_name: String

Autonomous System (AS) description

country_code: String

Country code

registry: String

Regional registrar name

allocated: Option<String>

BGP prefix allocation date

expires: SystemTime

When information contained in this struct expires

Trait Implementations

impl Debug for CymruIP2ASN[src]

impl Eq for CymruIP2ASN[src]

impl Ord for CymruIP2ASN[src]

impl PartialEq<CymruIP2ASN> for CymruIP2ASN[src]

impl PartialOrd<CymruIP2ASN> for CymruIP2ASN[src]

impl StructuralEq for CymruIP2ASN[src]

impl StructuralPartialEq for CymruIP2ASN[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,