Struct PeriodPass

Source
pub struct PeriodPass {
Show 19 fields 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: ProductCode§validity_area_1: ValidityArea§period_start_date_1: Date<Utc>§period_end_date_1: Date<Utc>§product_code_2: ProductCode§validity_area_2: ValidityArea§period_start_date_2: Date<Utc>§period_end_date_2: Date<Utc>§loaded_period_product: ProductCode§loaded_period_datetime: DateTime<Utc>§loaded_period_length: u16§loaded_period_price: u32§loading_organization: u16§loading_device_number: u16§last_board_datetime: DateTime<Utc>§last_board_vehicle_number: u16§last_board_location: BoardingLocation§last_board_direction: BoardingDirection§last_board_area: BoardingArea

Trait Implementations§

Source§

impl Debug for PeriodPass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.