pub struct PrinterAddedArgs<'s> {
pub printer_id: &'s str,
pub printer_name: &'s str,
pub printer_info: &'s str,
pub printer_location: &'s str,
pub printer_make_and_model: &'s str,
pub printer_is_accepting_jobs: bool,
pub printer_state: &'s str,
pub backend_name: &'s str,
/* private fields */
}Available on crate feature
zbus-backend only.Expand description
PrinterAdded signal arguments.
Fields§
§printer_id: &'s str§printer_name: &'s str§printer_info: &'s str§printer_location: &'s str§printer_make_and_model: &'s str§printer_is_accepting_jobs: bool§printer_state: &'s str§backend_name: &'s strImplementations§
Source§impl<'s> PrinterAddedArgs<'s>
impl<'s> PrinterAddedArgs<'s>
pub fn printer_id(&self) -> &&'s str
pub fn printer_name(&self) -> &&'s str
pub fn printer_info(&self) -> &&'s str
pub fn printer_location(&self) -> &&'s str
pub fn printer_make_and_model(&self) -> &&'s str
pub fn printer_is_accepting_jobs(&self) -> &bool
pub fn printer_state(&self) -> &&'s str
pub fn backend_name(&self) -> &&'s str
Trait Implementations§
Source§impl<'s> Debug for PrinterAddedArgs<'s>
impl<'s> Debug for PrinterAddedArgs<'s>
Auto Trait Implementations§
impl<'s> Freeze for PrinterAddedArgs<'s>
impl<'s> RefUnwindSafe for PrinterAddedArgs<'s>
impl<'s> Send for PrinterAddedArgs<'s>
impl<'s> Sync for PrinterAddedArgs<'s>
impl<'s> Unpin for PrinterAddedArgs<'s>
impl<'s> UnsafeUnpin for PrinterAddedArgs<'s>
impl<'s> UnwindSafe for PrinterAddedArgs<'s>
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