Struct dnstplib::message::question::DNSQuestion   
source · pub struct DNSQuestion {
    pub qname: String,
    pub qtype: QType,
    pub qclass: QClass,
}Fields§
§qname: String§qtype: QType§qclass: QClassImplementations§
Trait Implementations§
source§impl Clone for DNSQuestion
 
impl Clone for DNSQuestion
source§fn clone(&self) -> DNSQuestion
 
fn clone(&self) -> DNSQuestion
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 DNSQuestion
 
impl Debug for DNSQuestion
source§impl Ord for DNSQuestion
 
impl Ord for DNSQuestion
source§fn cmp(&self, other: &DNSQuestion) -> Ordering
 
fn cmp(&self, other: &DNSQuestion) -> 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 DNSQuestion
 
impl PartialEq for DNSQuestion
source§fn eq(&self, other: &DNSQuestion) -> bool
 
fn eq(&self, other: &DNSQuestion) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DNSQuestion
 
impl PartialOrd for DNSQuestion
source§fn partial_cmp(&self, other: &DNSQuestion) -> Option<Ordering>
 
fn partial_cmp(&self, other: &DNSQuestion) -> 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 moreimpl Eq for DNSQuestion
impl StructuralPartialEq for DNSQuestion
Auto Trait Implementations§
impl Freeze for DNSQuestion
impl RefUnwindSafe for DNSQuestion
impl Send for DNSQuestion
impl Sync for DNSQuestion
impl Unpin for DNSQuestion
impl UnwindSafe for DNSQuestion
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