pub struct AsnResponse {
pub ip: String,
pub asn: String,
pub name: String,
pub kind: String,
pub country: String,
}Expand description
Response of GET /v1/asn/{ip}.
Fields§
§ip: String§asn: String§name: String§kind: String§country: StringTrait Implementations§
Source§impl Clone for AsnResponse
impl Clone for AsnResponse
Source§impl Debug for AsnResponse
impl Debug for AsnResponse
Source§impl Default for AsnResponse
impl Default for AsnResponse
Source§impl<'de> Deserialize<'de> for AsnResponsewhere
AsnResponse: Default,
impl<'de> Deserialize<'de> for AsnResponsewhere
AsnResponse: Default,
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
Source§impl PartialEq for AsnResponse
impl PartialEq for AsnResponse
Source§impl Serialize for AsnResponse
impl Serialize for AsnResponse
impl StructuralPartialEq for AsnResponse
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