pub struct RdapResponse {
pub description: Option<Vec<String>>,
pub error_code: Option<i32>,
pub json_response: Option<HttpBody>,
pub lang: Option<String>,
pub notices: Option<Vec<Notice>>,
pub rdap_conformance: Option<Vec<String>>,
pub title: Option<String>,
}Expand description
Response to a general RDAP query.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get autnum (response)
- get entity (response)
- get ip (response)
- get nameserver (response)
- get domains (response)
- get entities (response)
- get nameservers (response)
Fields§
§description: Option<Vec<String>>Error description.
error_code: Option<i32>Error HTTP code. Example: “501”.
json_response: Option<HttpBody>HTTP response with content type set to “application/json+rdap”.
lang: Option<String>Error language code. Error response info fields are defined in section 6 of RFC 7483.
notices: Option<Vec<Notice>>Notices applying to this response.
rdap_conformance: Option<Vec<String>>RDAP conformance level.
title: Option<String>Error title.
Trait Implementations§
Source§impl Clone for RdapResponse
impl Clone for RdapResponse
Source§fn clone(&self) -> RdapResponse
fn clone(&self) -> RdapResponse
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 RdapResponse
impl Debug for RdapResponse
Source§impl Default for RdapResponse
impl Default for RdapResponse
Source§fn default() -> RdapResponse
fn default() -> RdapResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RdapResponse
impl<'de> Deserialize<'de> for RdapResponse
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 Serialize for RdapResponse
impl Serialize for RdapResponse
impl ResponseResult for RdapResponse
Auto Trait Implementations§
impl Freeze for RdapResponse
impl RefUnwindSafe for RdapResponse
impl Send for RdapResponse
impl Sync for RdapResponse
impl Unpin for RdapResponse
impl UnwindSafe for RdapResponse
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