Struct App
pub struct App {
pub app_type: AppType,
pub state: AppState,
pub perso_state: PersoState,
pub perso_feature: PersoFeature,
pub perso_retries: u8,
pub perso_unblock_retries: u8,
pub aid: Bytes,
pub univ_pin: UnivPin,
pub pin1: PinInfo,
pub pin2: PinInfo,
}Expand description
An application on a card (app_info_type_v01).
Fields§
§app_type: AppTypeType of the application.
state: AppStateState of the application.
perso_state: PersoStatePersonalization state.
perso_feature: PersoFeaturePersonalization feature that the state refers to.
perso_retries: u8Remaining personalization attempts.
perso_unblock_retries: u8Remaining personalization unblock attempts.
aid: BytesApplication identifier. Empty for a card without applications.
univ_pin: UnivPinWhether the universal PIN replaces PIN1.
pin1: PinInfoPIN1.
pin2: PinInfoPIN2.
Trait Implementations§
impl Eq for App
impl StructuralPartialEq for App
Auto Trait Implementations§
impl !Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnsafeUnpin for App
impl UnwindSafe for App
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