pub struct EntityResponse {
pub query: String,
pub handle: Option<String>,
pub vcard_array: Option<Value>,
pub roles: Vec<RdapRole>,
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 entity (contact/registrar) query.
Fields§
§query: StringThe original query handle.
handle: Option<String>Registry handle.
vcard_array: Option<Value>vCard data (RFC 7095) — kept as raw JSON.
roles: Vec<RdapRole>§status: Vec<RdapStatus>§entities: Vec<RdapEntity>Nested entities (e.g., technical contacts of a registrar).
events: Vec<RdapEvent>§links: Vec<RdapLink>§remarks: Vec<RdapRemark>§meta: ResponseMetaTrait Implementations§
Source§impl Clone for EntityResponse
impl Clone for EntityResponse
Source§fn clone(&self) -> EntityResponse
fn clone(&self) -> EntityResponse
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 EntityResponse
impl Debug for EntityResponse
Source§impl<'de> Deserialize<'de> for EntityResponse
impl<'de> Deserialize<'de> for EntityResponse
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 EntityResponse
impl RefUnwindSafe for EntityResponse
impl Send for EntityResponse
impl Sync for EntityResponse
impl Unpin for EntityResponse
impl UnsafeUnpin for EntityResponse
impl UnwindSafe for EntityResponse
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