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 Address used in query

BGP prefix

BGP Origin's Autonomous System (AS) number

Autonomous System (AS) description

Country code

Regional registrar name

BGP prefix allocation date

When information contained in this struct expires

Trait Implementations

impl Debug for CymruIP2ASN
[src]

Formats the value using the given formatter.

impl PartialEq for CymruIP2ASN
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for CymruIP2ASN
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for CymruIP2ASN
[src]

impl Ord for CymruIP2ASN
[src]

This method returns an Ordering between self and other. Read more