pub struct DnsAnswer {
pub perspective: String,
pub query: String,
pub record_type: DnsRecordType,
pub answers: Vec<String>,
pub error: Option<String>,
pub elapsed_ms: u64,
}Expand description
One perspective’s answer.
Fields§
§perspective: String§query: String§record_type: DnsRecordType§answers: Vec<String>§error: Option<String>§elapsed_ms: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnsAnswer
impl RefUnwindSafe for DnsAnswer
impl Send for DnsAnswer
impl Sync for DnsAnswer
impl Unpin for DnsAnswer
impl UnsafeUnpin for DnsAnswer
impl UnwindSafe for DnsAnswer
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