pub enum SaleDevice {
ServicePointSalesDevice(u16),
DriverTicketMachine(u16),
CardReader(u16),
TicketMachine(u16),
Server(u16),
HSLSmallEquipment(u16),
ExternalServiceEquipment(u16),
Reserved(u16),
}
Expand description
The type of device that sold the ticket, or recharged the card.
Variants§
ServicePointSalesDevice(u16)
DriverTicketMachine(u16)
CardReader(u16)
TicketMachine(u16)
Server(u16)
HSLSmallEquipment(u16)
ExternalServiceEquipment(u16)
Reserved(u16)
Trait Implementations§
Source§impl Debug for SaleDevice
impl Debug for SaleDevice
Source§impl From<&SaleDevice> for u16
impl From<&SaleDevice> for u16
Source§fn from(val: &SaleDevice) -> Self
fn from(val: &SaleDevice) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SaleDevice
impl RefUnwindSafe for SaleDevice
impl Send for SaleDevice
impl Sync for SaleDevice
impl Unpin for SaleDevice
impl UnwindSafe for SaleDevice
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