Struct windows::Win32::Graphics::Printing::PORT_DATA_2
#[repr(C)]pub struct PORT_DATA_2 {Show 14 fields
pub sztPortName: [u16; 64],
pub dwVersion: u32,
pub dwProtocol: u32,
pub cbSize: u32,
pub dwReserved: u32,
pub sztHostAddress: [u16; 128],
pub sztSNMPCommunity: [u16; 33],
pub dwDoubleSpool: u32,
pub sztQueue: [u16; 33],
pub Reserved: [u8; 514],
pub dwPortNumber: u32,
pub dwSNMPEnabled: u32,
pub dwSNMPDevIndex: u32,
pub dwPortMonitorMibIndex: u32,
}
Fields§
§sztPortName: [u16; 64]
§dwVersion: u32
§dwProtocol: u32
§cbSize: u32
§dwReserved: u32
§sztHostAddress: [u16; 128]
§sztSNMPCommunity: [u16; 33]
§dwDoubleSpool: u32
§sztQueue: [u16; 33]
§Reserved: [u8; 514]
§dwPortNumber: u32
§dwSNMPEnabled: u32
§dwSNMPDevIndex: u32
§dwPortMonitorMibIndex: u32
Trait Implementations§
§impl Clone for PORT_DATA_2
impl Clone for PORT_DATA_2
§fn clone(&self) -> PORT_DATA_2
fn clone(&self) -> PORT_DATA_2
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 PORT_DATA_2
impl Debug for PORT_DATA_2
§impl PartialEq for PORT_DATA_2
impl PartialEq for PORT_DATA_2
§fn eq(&self, other: &PORT_DATA_2) -> bool
fn eq(&self, other: &PORT_DATA_2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PORT_DATA_2
impl Eq for PORT_DATA_2
impl StructuralPartialEq for PORT_DATA_2
Auto Trait Implementations§
impl Freeze for PORT_DATA_2
impl RefUnwindSafe for PORT_DATA_2
impl Send for PORT_DATA_2
impl Sync for PORT_DATA_2
impl Unpin for PORT_DATA_2
impl UnwindSafe for PORT_DATA_2
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
)