#[repr(C)]
pub struct PRINTER_INFO_2A {
Show 21 fields pub pServerName: PSTR, pub pPrinterName: PSTR, pub pShareName: PSTR, pub pPortName: PSTR, pub pDriverName: PSTR, pub pComment: PSTR, pub pLocation: PSTR, pub pDevMode: *mut DEVMODEA, pub pSepFile: PSTR, pub pPrintProcessor: PSTR, pub pDatatype: PSTR, pub pParameters: PSTR, pub pSecurityDescriptor: PSECURITY_DESCRIPTOR, pub Attributes: u32, pub Priority: u32, pub DefaultPriority: u32, pub StartTime: u32, pub UntilTime: u32, pub Status: u32, pub cJobs: u32, pub AveragePPM: u32,
}
Expand description

Required features: "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_Security"

Fields§

§pServerName: PSTR§pPrinterName: PSTR§pShareName: PSTR§pPortName: PSTR§pDriverName: PSTR§pComment: PSTR§pLocation: PSTR§pDevMode: *mut DEVMODEA§pSepFile: PSTR§pPrintProcessor: PSTR§pDatatype: PSTR§pParameters: PSTR§pSecurityDescriptor: PSECURITY_DESCRIPTOR§Attributes: u32§Priority: u32§DefaultPriority: u32§StartTime: u32§UntilTime: u32§Status: u32§cJobs: u32§AveragePPM: u32

Trait Implementations§

§

impl Clone for PRINTER_INFO_2A

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for PRINTER_INFO_2A

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.