[][src]Struct ipinfo::AsnDetails

pub struct AsnDetails {
    pub asn: String,
    pub name: String,
    pub domain: String,
    pub route: String,
    pub asn_type: String,
}

ASN details.

Fields

asn: String

The AS number.

name: String

The name of the entity that owns this AS.

domain: String

The domain for the entity that owns this AS.

route: String

The route for this AS.

asn_type: String

The entity type that owns this AS. (i.e., business, education, hosting, isp)

Trait Implementations

impl Clone for AsnDetails[src]

impl Debug for AsnDetails[src]

impl<'de> Deserialize<'de> for AsnDetails[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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