Struct dns_resolver::resolver::Answer
source · pub struct Answer {
pub canon_name: Option<String>,
pub records: Vec<RData>,
pub nxdomain: bool,
pub secure: bool,
pub bogus: bool,
pub why_bogus: Option<String>,
pub expires: Instant,
pub response_code: ResponseCode,
}
Fields§
§canon_name: Option<String>
§records: Vec<RData>
§nxdomain: bool
§secure: bool
§bogus: bool
§why_bogus: Option<String>
§expires: Instant
§response_code: ResponseCode
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnwindSafe for Answer
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