pub struct Printer {
pub active: bool,
pub id: i64,
pub location: String,
pub meta: MetaDataEntityId,
pub title: String,
pub extra: Map<String, Value>,
}Expand description
A printer designated to print check-in codes
Fields§
§active: boolWhether this printer is active and available for check-in printing.
id: i64§location: StringHuman-readable location of the printer.
meta: MetaDataEntityId§title: StringHuman-readable printer name.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Printer
impl<'de> Deserialize<'de> for Printer
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
impl StructuralPartialEq for Printer
Auto Trait Implementations§
impl Freeze for Printer
impl RefUnwindSafe for Printer
impl Send for Printer
impl Sync for Printer
impl Unpin for Printer
impl UnsafeUnpin for Printer
impl UnwindSafe for Printer
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