Struct async_dnssd::QueryRecordResult
source · 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: QueriedRecordFlags
flags
interface: Interface
interface the record was found on
fullname: String
name of record
rr_type: Type
type of record
rr_class: Class
class of record
rdata: Vec<u8>
wire RDATA of record
ttl: u32
TTL (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 copy 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<QueryRecordResult> for QueryRecordResult
impl PartialEq<QueryRecordResult> for QueryRecordResult
source§fn eq(&self, other: &QueryRecordResult) -> bool
fn eq(&self, other: &QueryRecordResult) -> bool
source§impl PartialOrd<QueryRecordResult> for QueryRecordResult
impl PartialOrd<QueryRecordResult> for QueryRecordResult
source§fn partial_cmp(&self, other: &QueryRecordResult) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryRecordResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more