Struct windows::Win32::Networking::WinSock::NETRESOURCE2W
#[repr(C)]pub struct NETRESOURCE2W {
pub dwScope: u32,
pub dwType: u32,
pub dwUsage: u32,
pub dwDisplayType: u32,
pub lpLocalName: PWSTR,
pub lpRemoteName: PWSTR,
pub lpComment: PWSTR,
pub ns_info: NS_INFOA,
pub ServiceType: GUID,
pub dwProtocols: u32,
pub lpiProtocols: *mut i32,
}
Fields§
§dwScope: u32
§dwType: u32
§dwUsage: u32
§dwDisplayType: u32
§lpLocalName: PWSTR
§lpRemoteName: PWSTR
§lpComment: PWSTR
§ns_info: NS_INFOA
§ServiceType: GUID
§dwProtocols: u32
§lpiProtocols: *mut i32
Trait Implementations§
§impl Clone for NETRESOURCE2W
impl Clone for NETRESOURCE2W
§fn clone(&self) -> NETRESOURCE2W
fn clone(&self) -> NETRESOURCE2W
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 more§impl Debug for NETRESOURCE2W
impl Debug for NETRESOURCE2W
§impl Default for NETRESOURCE2W
impl Default for NETRESOURCE2W
§impl PartialEq for NETRESOURCE2W
impl PartialEq for NETRESOURCE2W
§fn eq(&self, other: &NETRESOURCE2W) -> bool
fn eq(&self, other: &NETRESOURCE2W) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NETRESOURCE2W
impl Eq for NETRESOURCE2W
impl StructuralPartialEq for NETRESOURCE2W
Auto Trait Implementations§
impl Freeze for NETRESOURCE2W
impl RefUnwindSafe for NETRESOURCE2W
impl !Send for NETRESOURCE2W
impl !Sync for NETRESOURCE2W
impl Unpin for NETRESOURCE2W
impl UnwindSafe for NETRESOURCE2W
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
)