pub struct GetPrinterAttributes { /* private fields */ }
Expand description
IPP operation Get-Printer-Attributes
Implementations§
Source§impl GetPrinterAttributes
impl GetPrinterAttributes
Sourcepub fn new() -> GetPrinterAttributes
pub fn new() -> GetPrinterAttributes
Create Get-Printer-Attributes operation
Sourcepub fn with_attributes<T>(attributes: &[T]) -> GetPrinterAttributes
pub fn with_attributes<T>(attributes: &[T]) -> GetPrinterAttributes
Set attributes to request from the printer
Trait Implementations§
Source§impl Default for GetPrinterAttributes
impl Default for GetPrinterAttributes
Source§fn default() -> GetPrinterAttributes
fn default() -> GetPrinterAttributes
Returns the “default value” for a type. Read more
Source§impl IppOperation for GetPrinterAttributes
impl IppOperation for GetPrinterAttributes
Source§fn into_ipp_request(self, uri: &str) -> IppRequestResponse
fn into_ipp_request(self, uri: &str) -> IppRequestResponse
Convert this operation to IPP request which is ready for sending
Source§fn version(&self) -> IppVersion
fn version(&self) -> IppVersion
Return IPP version for this operation. Default is 1.1
Auto Trait Implementations§
impl Freeze for GetPrinterAttributes
impl RefUnwindSafe for GetPrinterAttributes
impl Send for GetPrinterAttributes
impl Sync for GetPrinterAttributes
impl Unpin for GetPrinterAttributes
impl UnwindSafe for GetPrinterAttributes
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