pub struct QueryRecordResult {
    pub flags: QueriedRecordFlags,
    pub interface: Interface,
    pub fullname: String,
    pub rr_type: Type,
    pub rr_class: Class,
    pub rdata: Vec<u8>,
    pub ttl: u32,
}Expand description
Query result
Fields§
§flags: QueriedRecordFlagsflags
interface: Interfaceinterface the record was found on
fullname: Stringname of record
rr_type: Typetype of record
rr_class: Classclass of record
rdata: Vec<u8>wire RDATA of record
ttl: u32TTL (time to live) of record
Trait Implementations§
Source§impl Clone for QueryRecordResult
 
impl Clone for QueryRecordResult
Source§fn clone(&self) -> QueryRecordResult
 
fn clone(&self) -> QueryRecordResult
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 QueryRecordResult
 
impl Debug for QueryRecordResult
Source§impl Hash for QueryRecordResult
 
impl Hash for QueryRecordResult
Source§impl Ord for QueryRecordResult
 
impl Ord for QueryRecordResult
Source§fn cmp(&self, other: &QueryRecordResult) -> Ordering
 
fn cmp(&self, other: &QueryRecordResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QueryRecordResult
 
impl PartialEq for QueryRecordResult
Source§impl PartialOrd for QueryRecordResult
 
impl PartialOrd for QueryRecordResult
impl Eq for QueryRecordResult
impl StructuralPartialEq for QueryRecordResult
Auto Trait Implementations§
impl Freeze for QueryRecordResult
impl RefUnwindSafe for QueryRecordResult
impl Send for QueryRecordResult
impl Sync for QueryRecordResult
impl Unpin for QueryRecordResult
impl UnwindSafe for QueryRecordResult
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