Struct windows_sys::Win32::NetworkManagement::Dns::DNS_QUERY_REQUEST
#[repr(C)]pub struct DNS_QUERY_REQUEST {
pub Version: u32,
pub QueryName: PCWSTR,
pub QueryType: u16,
pub QueryOptions: u64,
pub pDnsServerList: *mut DNS_ADDR_ARRAY,
pub InterfaceIndex: u32,
pub pQueryCompletionCallback: PDNS_QUERY_COMPLETION_ROUTINE,
pub pQueryContext: *mut c_void,
}
Fields§
§Version: u32
§QueryName: PCWSTR
§QueryType: u16
§QueryOptions: u64
§pDnsServerList: *mut DNS_ADDR_ARRAY
§InterfaceIndex: u32
§pQueryCompletionCallback: PDNS_QUERY_COMPLETION_ROUTINE
§pQueryContext: *mut c_void
Trait Implementations§
§impl Clone for DNS_QUERY_REQUEST
impl Clone for DNS_QUERY_REQUEST
§fn clone(&self) -> DNS_QUERY_REQUEST
fn clone(&self) -> DNS_QUERY_REQUEST
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_QUERY_REQUEST
Auto Trait Implementations§
impl Freeze for DNS_QUERY_REQUEST
impl RefUnwindSafe for DNS_QUERY_REQUEST
impl !Send for DNS_QUERY_REQUEST
impl !Sync for DNS_QUERY_REQUEST
impl Unpin for DNS_QUERY_REQUEST
impl UnwindSafe for DNS_QUERY_REQUEST
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
)