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
as_number: AsNumber
BGP Origin's Autonomous System (AS) number
country_code: String
Country code
registry: String
Regional registrar name
allocated: Option<NaiveDate>
BGP prefix allocation date
as_name: String
Autonomous System (AS) description
expires: SystemTime
When information contained in this struct expires
Trait Implementations
impl Debug for CymruASN
[src]
impl PartialEq for CymruASN
[src]
fn eq(&self, __arg_0: &CymruASN) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CymruASN) -> bool
This method tests for !=
.
impl PartialOrd for CymruASN
[src]
fn partial_cmp(&self, __arg_0: &CymruASN) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &CymruASN) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &CymruASN) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &CymruASN) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &CymruASN) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more