pub struct PrinterItem {Show 13 fields
pub id: String,
pub name: String,
pub driver_name: Option<String>,
pub job_count: Option<i32>,
pub print_processor: Option<String>,
pub port_name: Option<String>,
pub share_name: Option<String>,
pub computer_name: Option<String>,
pub printer_status: Option<i32>,
pub shared: bool,
pub printer_type: Option<i32>,
pub priority: Option<i32>,
pub is_default: bool,
}Fields§
§id: String§name: String§driver_name: Option<String>§job_count: Option<i32>§print_processor: Option<String>§port_name: Option<String>§computer_name: Option<String>§printer_status: Option<i32>§printer_type: Option<i32>§priority: Option<i32>§is_default: boolTrait Implementations§
Source§impl Clone for PrinterItem
impl Clone for PrinterItem
Source§fn clone(&self) -> PrinterItem
fn clone(&self) -> PrinterItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrinterItem
impl Debug for PrinterItem
Source§impl Default for PrinterItem
impl Default for PrinterItem
Source§fn default() -> PrinterItem
fn default() -> PrinterItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrinterItem
impl<'de> Deserialize<'de> for PrinterItem
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
Auto Trait Implementations§
impl Freeze for PrinterItem
impl RefUnwindSafe for PrinterItem
impl Send for PrinterItem
impl Sync for PrinterItem
impl Unpin for PrinterItem
impl UnsafeUnpin for PrinterItem
impl UnwindSafe for PrinterItem
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