Struct ipp::operation::builder::GetPrinterAttributesBuilder
source · pub struct GetPrinterAttributesBuilder { /* private fields */ }
Expand description
Builder to create Get-Printer-Attributes operation
Implementations§
source§impl GetPrinterAttributesBuilder
impl GetPrinterAttributesBuilder
sourcepub fn attribute<S>(self, attribute: S) -> Selfwhere
S: AsRef<str>,
pub fn attribute<S>(self, attribute: S) -> Selfwhere S: AsRef<str>,
Specify which attribute to retrieve from the printer. Can be repeated.
sourcepub fn attributes<S, I>(self, attributes: I) -> Selfwhere
S: AsRef<str>,
I: IntoIterator<Item = S>,
pub fn attributes<S, I>(self, attributes: I) -> Selfwhere S: AsRef<str>, I: IntoIterator<Item = S>,
Specify which attributes to retrieve from the printer
sourcepub fn build(self) -> impl IppOperation
pub fn build(self) -> impl IppOperation
Build operation
Auto Trait Implementations§
impl RefUnwindSafe for GetPrinterAttributesBuilder
impl Send for GetPrinterAttributesBuilder
impl Sync for GetPrinterAttributesBuilder
impl Unpin for GetPrinterAttributesBuilder
impl UnwindSafe for GetPrinterAttributesBuilder
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