[−][src]Struct scannit_core_ffi::models::FFITravelCard
An FFI-friendly version of a travel card. Note that all dynamically-allocated members in this struct have already had their memory leaked. It is the responsibility of the external consumer to manually return this to Rust code to be freed.
Fields
application_version: u8
application_key_version: u8
application_instance_id: *mut c_char
platform_type: u8
is_mac_protected: bool
application_issuing_date: UnixTimestamp
application_status: bool
application_unblocking_number: u8
application_transaction_counter: u32
action_list_counter: u32
period_pass: FFIPeriodPass
stored_value_cents: u32
last_load_datetime: UnixTimestamp
last_load_value: u32
last_load_organization_id: u16
last_load_device_num: u16
e_ticket: FFIETicket
history: FFIHistoryBuffer
Auto Trait Implementations
impl RefUnwindSafe for FFITravelCard
impl !Send for FFITravelCard
impl !Sync for FFITravelCard
impl Unpin for FFITravelCard
impl UnwindSafe for FFITravelCard
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>,