#[repr(C)]pub struct FelicaAuthenticationContext {
pub skip_auth: bool,
pub card_key: FelicaCardKey,
pub auth_status: FelicaAuthenticationStatus,
}Expand description
Struct which controls the process of authentication and can be passed as a parameter to the application level. In order to force user to fill card key block data.
Fields§
§skip_auth: bool< By default it is true, so auth is skipped. By setting this to false several auth steps will be performed in order to pass auth
card_key: FelicaCardKey< User must fill this field with known card key in order to pass auth
auth_status: FelicaAuthenticationStatus< Authentication status
Trait Implementations§
Source§impl Clone for FelicaAuthenticationContext
impl Clone for FelicaAuthenticationContext
Source§fn clone(&self) -> FelicaAuthenticationContext
fn clone(&self) -> FelicaAuthenticationContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FelicaAuthenticationContext
impl Debug for FelicaAuthenticationContext
impl Copy for FelicaAuthenticationContext
Auto Trait Implementations§
impl Freeze for FelicaAuthenticationContext
impl RefUnwindSafe for FelicaAuthenticationContext
impl Send for FelicaAuthenticationContext
impl Sync for FelicaAuthenticationContext
impl Unpin for FelicaAuthenticationContext
impl UnwindSafe for FelicaAuthenticationContext
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