Struct windows_sys::Win32::NetworkManagement::Dns::DNS_HEADER
[−]#[repr(C, packed(1))]pub struct DNS_HEADER {
pub Xid: u16,
pub _bitfield1: u8,
pub _bitfield2: u8,
pub QuestionCount: u16,
pub AnswerCount: u16,
pub NameServerCount: u16,
pub AdditionalCount: u16,
}
Expand description
Required features: "Win32_NetworkManagement_Dns"
Fields
Xid: u16
_bitfield1: u8
_bitfield2: u8
QuestionCount: u16
AnswerCount: u16
NameServerCount: u16
AdditionalCount: u16
Trait Implementations
impl Clone for DNS_HEADER
impl Clone for DNS_HEADER
impl Copy for DNS_HEADER
Auto Trait Implementations
impl RefUnwindSafe for DNS_HEADER
impl Send for DNS_HEADER
impl Sync for DNS_HEADER
impl Unpin for DNS_HEADER
impl UnwindSafe for DNS_HEADER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more