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