Struct trust_dns_proto::op::query::QueryParts [−][src]
pub struct QueryParts {
pub name: Name,
pub query_type: RecordType,
pub query_class: DNSClass,
pub mdns_unicast_response: bool,
}
Expand description
Consumes Query
giving public access to fields of Query
so they can
be destructured and taken by value.
Fields
name: Name
QNAME
query_type: RecordType
QTYPE
query_class: DNSClass
QCLASS
mdns_unicast_response: bool
This is supported on crate feature
mdns
only.mDNS unicast-response bit set or not
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for QueryParts
impl Send for QueryParts
impl Sync for QueryParts
impl Unpin for QueryParts
impl UnwindSafe for QueryParts
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more