pub struct SendDocument { /* private fields */ }
Expand description
IPP operation Send-Document
Implementations§
Source§impl SendDocument
impl SendDocument
Sourcepub fn new<S>(
job_id: i32,
source: IppJobSource,
user_name: Option<S>,
last: bool,
) -> SendDocument
pub fn new<S>( job_id: i32, source: IppJobSource, user_name: Option<S>, last: bool, ) -> SendDocument
Create Send-Document operation
job_id
- job ID returned by Create-Job operationsource
-IppJobSource
user_name
- name of the user (requesting-user-name)last
- whether this document is a last one
Trait Implementations§
Source§impl IppOperation for SendDocument
impl IppOperation for SendDocument
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 SendDocument
impl !RefUnwindSafe for SendDocument
impl Send for SendDocument
impl !Sync for SendDocument
impl Unpin for SendDocument
impl !UnwindSafe for SendDocument
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