Struct cymrust::CymruASN [] [src]

pub struct CymruASN {
    pub as_number: AsNumber,
    pub country_code: String,
    pub registry: String,
    pub allocated: Option<NaiveDate>,
    pub as_name: String,
    pub expires: SystemTime,
}

ASN information

Fields

BGP Origin's Autonomous System (AS) number

Country code

Regional registrar name

BGP prefix allocation date

Autonomous System (AS) description

When information contained in this struct expires

Trait Implementations

impl Debug for CymruASN
[src]

Formats the value using the given formatter.

impl PartialEq for CymruASN
[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 CymruASN
[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 CymruASN
[src]

impl Ord for CymruASN
[src]

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