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,
}
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
§fn clone(&self) -> DNS_HEADER
fn clone(&self) -> DNS_HEADER
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 moreimpl Copy for DNS_HEADER
Auto Trait Implementations§
impl Freeze for DNS_HEADER
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§
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)