Struct dnsmsg_parser::dns_message::DnsQueryMessage
source · pub struct DnsQueryMessage {
pub response_code: u16,
pub response: Option<&'static str>,
pub header: QueryHeader,
pub question_section: Vec<QueryQuestion>,
pub answer_section: Vec<DnsRecord>,
pub authority_section: Vec<DnsRecord>,
pub additional_section: Vec<DnsRecord>,
pub opt_pseudo_section: Option<OptPseudoSection>,
}
Fields§
§response_code: u16
§response: Option<&'static str>
§header: QueryHeader
§question_section: Vec<QueryQuestion>
§answer_section: Vec<DnsRecord>
§additional_section: Vec<DnsRecord>
§opt_pseudo_section: Option<OptPseudoSection>
Trait Implementations§
source§impl Clone for DnsQueryMessage
impl Clone for DnsQueryMessage
source§fn clone(&self) -> DnsQueryMessage
fn clone(&self) -> DnsQueryMessage
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 DnsQueryMessage
impl Debug for DnsQueryMessage
source§impl Default for DnsQueryMessage
impl Default for DnsQueryMessage
source§fn default() -> DnsQueryMessage
fn default() -> DnsQueryMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DnsQueryMessage
impl RefUnwindSafe for DnsQueryMessage
impl Send for DnsQueryMessage
impl Sync for DnsQueryMessage
impl Unpin for DnsQueryMessage
impl UnwindSafe for DnsQueryMessage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)