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: TransactionType§boarding_datetime: DateTime<Utc>§transfer_end_datetime: DateTime<Utc>§ticket_fare_cents: u16§group_size: u8§remaining_value: u32Value remaining on the card after this use. Always 0 if this was a season pass usage.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for History
impl RefUnwindSafe for History
impl Send for History
impl Sync for History
impl Unpin for History
impl UnwindSafe for History
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