pub struct PrintGetAttributesRequest {
pub context: Pcontext,
pub pool: u8,
}
Fields§
§context: Pcontext
§pool: u8
Implementations§
Source§impl PrintGetAttributesRequest
impl PrintGetAttributesRequest
Sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
Sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8],
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8], ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
Source§impl Clone for PrintGetAttributesRequest
impl Clone for PrintGetAttributesRequest
Source§fn clone(&self) -> PrintGetAttributesRequest
fn clone(&self) -> PrintGetAttributesRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PrintGetAttributesRequest
impl Debug for PrintGetAttributesRequest
Source§impl Default for PrintGetAttributesRequest
impl Default for PrintGetAttributesRequest
Source§fn default() -> PrintGetAttributesRequest
fn default() -> PrintGetAttributesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrintGetAttributesRequest
impl<'de> Deserialize<'de> for PrintGetAttributesRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PrintGetAttributesRequest
impl Hash for PrintGetAttributesRequest
Source§impl Ord for PrintGetAttributesRequest
impl Ord for PrintGetAttributesRequest
Source§fn cmp(&self, other: &PrintGetAttributesRequest) -> Ordering
fn cmp(&self, other: &PrintGetAttributesRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PrintGetAttributesRequest
impl PartialOrd for PrintGetAttributesRequest
Source§impl ReplyRequest for PrintGetAttributesRequest
impl ReplyRequest for PrintGetAttributesRequest
Source§type Reply = PrintGetAttributesReply
type Reply = PrintGetAttributesReply
The kind of reply that this request generates.
Source§impl Request for PrintGetAttributesRequest
impl Request for PrintGetAttributesRequest
impl Copy for PrintGetAttributesRequest
impl Eq for PrintGetAttributesRequest
impl StructuralPartialEq for PrintGetAttributesRequest
Auto Trait Implementations§
impl Freeze for PrintGetAttributesRequest
impl RefUnwindSafe for PrintGetAttributesRequest
impl Send for PrintGetAttributesRequest
impl Sync for PrintGetAttributesRequest
impl Unpin for PrintGetAttributesRequest
impl UnwindSafe for PrintGetAttributesRequest
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