Struct trust_dns_proto::op::query::QueryParts
source · [−]pub struct QueryParts {
pub name: Name,
pub query_type: RecordType,
pub query_class: DNSClass,
}
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
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