[−][src]Struct scannit_core::eticket::ETicket
Fields
product_code: ProductCode
If ProductCodeGroup is > 0, this returns ProductCodeGroup
customer_profile: u8
If CustomerProfileGroup is > 0, this returns CustomerProfileGroup.
language: Language
validity_length: ValidityLength
If ValidityLengthGroup is > 0 this returns ValidityLengthGroup.
validity_area: ValidityArea
sale_datetime: DateTime<Utc>
sale_device: SaleDevice
ticket_fare_cents: u16
If TicketFareGroup is > 0 this returns TicketFareGroup.
group_size: u8
extra_zone: bool
if true, this is an extra zone on top of a PeriodPass.
period_pass_validity_area: ValidityArea
The validity area for the PeriodPass associated with the extra zone ticket.
extension_product_code: ProductCode
extension_1_validity_area: ValidityArea
extension_1_fare_cents: u16
extension_2_validity_area: ValidityArea
extension_2_fare_cents: u16
sale_status: bool
validity_start_datetime: DateTime<Utc>
validity_end_datetime: DateTime<Utc>
If ValidityEndDateGroup and ValidityEndTimeGroup are > 0 this uses them instead.
validity_status: bool
True if the ticket is currently valid.
boarding_datetime: DateTime<Utc>
boarding_vehicle: u16
boarding_location: BoardingLocation
boarding_direction: BoardingDirection
boarding_area: BoardingArea
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ETicket
impl Send for ETicket
impl Sync for ETicket
impl Unpin for ETicket
impl UnwindSafe for ETicket
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,