pub struct AsnDetail {
pub asn: u32,
pub label: String,
pub org: String,
pub network_type: String,
pub ipv4_prefixes: i64,
pub ipv6_prefixes: i64,
pub prefixes: i64,
pub addresses: u64,
pub sample_prefixes: Vec<AsnPrefix>,
pub vpn_range_prefixes: i64,
pub datacenter_range_prefixes: i64,
pub ranges_loaded: bool,
}Expand description
Response of GET /v1/asn/directory/{asn}.
Fields§
§asn: u32§label: String§org: String§network_type: String§ipv4_prefixes: i64§ipv6_prefixes: i64§prefixes: i64§addresses: u64§sample_prefixes: Vec<AsnPrefix>§vpn_range_prefixes: i64§datacenter_range_prefixes: i64§ranges_loaded: boolWhether the two range counts are meaningful yet.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AsnDetail
impl<'de> Deserialize<'de> for AsnDetail
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
impl StructuralPartialEq for AsnDetail
Auto Trait Implementations§
impl Freeze for AsnDetail
impl RefUnwindSafe for AsnDetail
impl Send for AsnDetail
impl Sync for AsnDetail
impl Unpin for AsnDetail
impl UnsafeUnpin for AsnDetail
impl UnwindSafe for AsnDetail
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