[][src]Struct scannit_core::history::History

pub struct History {
    pub transaction_type: TransactionType,
    pub boarding_datetime: DateTime<Utc>,
    pub transfer_end_datetime: DateTime<Utc>,
    pub ticket_fare_cents: u16,
    pub group_size: u8,
    pub remaining_value: u32,
}

Fields

transaction_type: TransactionTypeboarding_datetime: DateTime<Utc>transfer_end_datetime: DateTime<Utc>ticket_fare_cents: u16group_size: u8remaining_value: u32

Value remaining on the card after this use. Always 0 if this was a season pass usage.

Trait Implementations

impl Debug for History[src]

Auto Trait Implementations

impl RefUnwindSafe for History

impl Send for History

impl Sync for History

impl Unpin for History

impl UnwindSafe for History

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.