Struct UnblockPinInfo
#[repr(C)]pub struct UnblockPinInfo {
pub app_info: AppIdInfo,
pub pin_id: PinId,
pub puk_value_len: u32,
pub puk_value: [c_char; 8],
pub new_pin_value_len: u32,
pub new_pin_value: [c_char; 8],
}Expand description
Unblocks a blocked PIN using the PUK code.
The client must pass PUK1 to unblock PIN1 or PUK2 to unblock PIN2. The same PIN can be used by multiple sessions (i.e., the PIN is shared between GSM and RUIM in an ICC card). The PIN is automatically verified for all the sessions when the command is executed.
Fields§
§app_info: AppIdInfoApplication identification information.
pin_id: PinIdPIN ID.
puk_value_len: u32Must be set to the number of elements in puk_value.
puk_value: [c_char; 8]Value of the PUK as a sequence of ASCII characters.
new_pin_value_len: u32Must be set to the number of elements in new_pin_value.
new_pin_value: [c_char; 8]Value of the new PIN as a sequence of ASCII characters.
Auto Trait Implementations§
impl Freeze for UnblockPinInfo
impl RefUnwindSafe for UnblockPinInfo
impl Send for UnblockPinInfo
impl Sync for UnblockPinInfo
impl Unpin for UnblockPinInfo
impl UnwindSafe for UnblockPinInfo
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