pub struct RdapEntity {
pub handle: Option<String>,
pub vcard_array: Option<Value>,
pub roles: Vec<RdapRole>,
pub events: Vec<RdapEvent>,
pub links: Vec<RdapLink>,
pub remarks: Vec<RdapRemark>,
pub entities: Vec<RdapEntity>,
}Expand description
A contact / registrant / registrar embedded in a response.
Fields§
§handle: Option<String>§vcard_array: Option<Value>vCard data (RFC 7095) — kept as raw JSON value to avoid strict parsing.
roles: Vec<RdapRole>§events: Vec<RdapEvent>§links: Vec<RdapLink>§remarks: Vec<RdapRemark>§entities: Vec<RdapEntity>Nested entities (e.g., technical contacts of a registrar).
Trait Implementations§
Source§impl Clone for RdapEntity
impl Clone for RdapEntity
Source§fn clone(&self) -> RdapEntity
fn clone(&self) -> RdapEntity
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 RdapEntity
impl Debug for RdapEntity
Source§impl<'de> Deserialize<'de> for RdapEntity
impl<'de> Deserialize<'de> for RdapEntity
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 RdapEntity
impl RefUnwindSafe for RdapEntity
impl Send for RdapEntity
impl Sync for RdapEntity
impl Unpin for RdapEntity
impl UnsafeUnpin for RdapEntity
impl UnwindSafe for RdapEntity
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