pub struct IppRequest {
pub version: (u8, u8),
pub operation: IppOperation,
pub request_id: u32,
pub attributes: BTreeMap<String, String>,
}Expand description
An IPP request.
Fields§
§version: (u8, u8)IPP version (major, minor).
operation: IppOperationOperation code.
request_id: u32Request ID.
attributes: BTreeMap<String, String>Operation attributes (key-value pairs).
Implementations§
Source§impl IppRequest
impl IppRequest
Sourcepub fn new(operation: IppOperation, request_id: u32) -> Self
pub fn new(operation: IppOperation, request_id: u32) -> Self
Create a new request.
Trait Implementations§
Source§impl Clone for IppRequest
impl Clone for IppRequest
Source§fn clone(&self) -> IppRequest
fn clone(&self) -> IppRequest
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IppRequest
impl RefUnwindSafe for IppRequest
impl Send for IppRequest
impl Sync for IppRequest
impl Unpin for IppRequest
impl UnwindSafe for IppRequest
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)