Struct ipp::operation::SendDocument
source · pub struct SendDocument { /* private fields */ }
Expand description
IPP operation Send-Document
Implementations§
source§impl SendDocument
impl SendDocument
sourcepub fn new<S, U>(
printer_uri: Uri,
job_id: i32,
payload: S,
user_name: Option<U>,
last: bool
) -> SendDocumentwhere
S: Into<IppPayload>,
U: AsRef<str>,
pub fn new<S, U>( printer_uri: Uri, job_id: i32, payload: S, user_name: Option<U>, last: bool ) -> SendDocumentwhere S: Into<IppPayload>, U: AsRef<str>,
Create Send-Document operation
printer_uri
- printer URIjob_id
- job ID returned by Create-Job operationpayload
-IppPayload
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) -> 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 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