pub struct PrinterControllerRequest {
pub software: Option<Box<SoftwareEnum>>,
pub user: i32,
pub device: i32,
}Fields§
§software: Option<Box<SoftwareEnum>>§user: i32§device: i32Implementations§
Source§impl PrinterControllerRequest
impl PrinterControllerRequest
pub fn new(user: i32, device: i32) -> PrinterControllerRequest
Trait Implementations§
Source§impl Clone for PrinterControllerRequest
impl Clone for PrinterControllerRequest
Source§fn clone(&self) -> PrinterControllerRequest
fn clone(&self) -> PrinterControllerRequest
Returns a duplicate 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 PrinterControllerRequest
impl Debug for PrinterControllerRequest
Source§impl Default for PrinterControllerRequest
impl Default for PrinterControllerRequest
Source§fn default() -> PrinterControllerRequest
fn default() -> PrinterControllerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrinterControllerRequest
impl<'de> Deserialize<'de> for PrinterControllerRequest
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 PartialEq for PrinterControllerRequest
impl PartialEq for PrinterControllerRequest
Source§impl Serialize for PrinterControllerRequest
impl Serialize for PrinterControllerRequest
impl StructuralPartialEq for PrinterControllerRequest
Auto Trait Implementations§
impl Freeze for PrinterControllerRequest
impl RefUnwindSafe for PrinterControllerRequest
impl Send for PrinterControllerRequest
impl Sync for PrinterControllerRequest
impl Unpin for PrinterControllerRequest
impl UnwindSafe for PrinterControllerRequest
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