pub struct CreateJob { /* private fields */ }
Expand description
IPP operation Create-Job
Implementations§
source§impl CreateJob
impl CreateJob
sourcepub fn new<T>(printer_uri: Uri, job_name: Option<T>) -> CreateJobwhere
T: AsRef<str>,
pub fn new<T>(printer_uri: Uri, job_name: Option<T>) -> CreateJobwhere T: AsRef<str>,
Create Create-Job operation
printer_uri
- printer URIjob_name
- optional job name (job-name)
sourcepub fn add_attribute(&mut self, attribute: IppAttribute)
pub fn add_attribute(&mut self, attribute: IppAttribute)
Set extra job attribute for this operation, for example colormodel=grayscale
Trait Implementations§
source§impl IppOperation for CreateJob
impl IppOperation for CreateJob
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 CreateJob
impl Send for CreateJob
impl Sync for CreateJob
impl Unpin for CreateJob
impl UnwindSafe for CreateJob
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