Struct ipinfo::AsnDetails
source · pub struct AsnDetails {
pub asn: String,
pub name: String,
pub domain: String,
pub route: String,
pub asn_type: String,
}
Expand description
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§
source§impl Clone for AsnDetails
impl Clone for AsnDetails
source§fn clone(&self) -> AsnDetails
fn clone(&self) -> AsnDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AsnDetails
impl Debug for AsnDetails
source§impl<'de> Deserialize<'de> for AsnDetails
impl<'de> Deserialize<'de> for AsnDetails
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AsnDetails
impl Send for AsnDetails
impl Sync for AsnDetails
impl Unpin for AsnDetails
impl UnwindSafe for AsnDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more