[][src]Struct scannit_core::travelcard::PeriodPass

pub struct PeriodPass {
    pub product_code_1: ProductCode,
    pub validity_area_1: ValidityArea,
    pub period_start_date_1: Date<Utc>,
    pub period_end_date_1: Date<Utc>,
    pub product_code_2: ProductCode,
    pub validity_area_2: ValidityArea,
    pub period_start_date_2: Date<Utc>,
    pub period_end_date_2: Date<Utc>,
    pub loaded_period_product: ProductCode,
    pub loaded_period_datetime: DateTime<Utc>,
    pub loaded_period_length: u16,
    pub loaded_period_price: u32,
    pub loading_organization: u16,
    pub loading_device_number: u16,
    pub last_board_datetime: DateTime<Utc>,
    pub last_board_vehicle_number: u16,
    pub last_board_location: BoardingLocation,
    pub last_board_direction: BoardingDirection,
    pub last_board_area: BoardingArea,
}

Fields

product_code_1: ProductCodevalidity_area_1: ValidityAreaperiod_start_date_1: Date<Utc>period_end_date_1: Date<Utc>product_code_2: ProductCodevalidity_area_2: ValidityAreaperiod_start_date_2: Date<Utc>period_end_date_2: Date<Utc>loaded_period_product: ProductCodeloaded_period_datetime: DateTime<Utc>loaded_period_length: u16loaded_period_price: u32loading_organization: u16loading_device_number: u16last_board_datetime: DateTime<Utc>last_board_vehicle_number: u16last_board_location: BoardingLocationlast_board_direction: BoardingDirectionlast_board_area: BoardingArea

Trait Implementations

impl Debug for PeriodPass[src]

Auto Trait Implementations

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.