pub struct AsnResponse {Show 13 fields
pub query: u32,
pub handle: Option<String>,
pub start_autnum: Option<u32>,
pub end_autnum: Option<u32>,
pub name: Option<String>,
pub autnum_type: Option<String>,
pub country: Option<String>,
pub status: Vec<RdapStatus>,
pub entities: Vec<RdapEntity>,
pub events: Vec<RdapEvent>,
pub links: Vec<RdapLink>,
pub remarks: Vec<RdapRemark>,
pub meta: ResponseMeta,
}Expand description
Normalised RDAP response for an ASN query.
Fields§
§query: u32The original query value (numeric ASN).
handle: Option<String>Registry handle.
start_autnum: Option<u32>First ASN in the assigned range.
end_autnum: Option<u32>Last ASN in the assigned range.
name: Option<String>Human-readable name of the AS (e.g., “GOOGLE”).
autnum_type: Option<String>Type of the autonomous system number assignment.
country: Option<String>ISO 3166-1 alpha-2 country code of the registrant.
status: Vec<RdapStatus>§entities: Vec<RdapEntity>§events: Vec<RdapEvent>§links: Vec<RdapLink>§remarks: Vec<RdapRemark>§meta: ResponseMetaTrait Implementations§
Source§impl Clone for AsnResponse
impl Clone for AsnResponse
Source§fn clone(&self) -> AsnResponse
fn clone(&self) -> AsnResponse
Returns a duplicate 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 AsnResponse
impl Debug for AsnResponse
Source§impl<'de> Deserialize<'de> for AsnResponse
impl<'de> Deserialize<'de> for AsnResponse
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 Freeze for AsnResponse
impl RefUnwindSafe for AsnResponse
impl Send for AsnResponse
impl Sync for AsnResponse
impl Unpin for AsnResponse
impl UnsafeUnpin for AsnResponse
impl UnwindSafe for AsnResponse
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