Struct ipp::operation::GetPrinterAttributes
source · pub struct GetPrinterAttributes { /* private fields */ }
Expand description
IPP operation Get-Printer-Attributes
Implementations§
source§impl GetPrinterAttributes
impl GetPrinterAttributes
sourcepub fn new(printer_uri: Uri) -> GetPrinterAttributes
pub fn new(printer_uri: Uri) -> GetPrinterAttributes
Create Get-Printer-Attributes operation to return all attributes
printer_uri
- printer URI
sourcepub fn with_attributes<I, T>(
printer_uri: Uri,
attributes: I
) -> GetPrinterAttributeswhere
I: IntoIterator<Item = T>,
T: AsRef<str>,
pub fn with_attributes<I, T>( printer_uri: Uri, attributes: I ) -> GetPrinterAttributeswhere I: IntoIterator<Item = T>, T: AsRef<str>,
Create Get-Printer-Attributes operation to get a given list of attributes
printer_uri
- printer URIattributes
- list of attribute names to request from the printer
Trait Implementations§
source§impl IppOperation for GetPrinterAttributes
impl IppOperation for GetPrinterAttributes
source§fn into_ipp_request(self) -> IppRequestResponse
fn into_ipp_request(self) -> 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 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