pub struct KeypadControl {
pub cmd: KeypadControlCmd,
pub key_codes: Vec<u8>,
}Expand description
keypad_control() object (Table 36).
Fields§
§cmd: KeypadControlCmdkeypad_control_cmd.
key_codes: Vec<u8>The key_code list — non-empty only for the select/reject commands (a
single code for reject_keypress).
Trait Implementations§
Source§impl ApduDef<'_> for KeypadControl
impl ApduDef<'_> for KeypadControl
Source§impl Clone for KeypadControl
impl Clone for KeypadControl
Source§fn clone(&self) -> KeypadControl
fn clone(&self) -> KeypadControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeypadControl
impl Debug for KeypadControl
impl Eq for KeypadControl
Source§impl<'a> From<KeypadControl> for AnyApdu<'a>
impl<'a> From<KeypadControl> for AnyApdu<'a>
Source§fn from(v: KeypadControl) -> Self
fn from(v: KeypadControl) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for KeypadControl
impl<'a> Parse<'a> for KeypadControl
Source§impl PartialEq for KeypadControl
impl PartialEq for KeypadControl
Source§fn eq(&self, other: &KeypadControl) -> bool
fn eq(&self, other: &KeypadControl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KeypadControl
impl Serialize for KeypadControl
Source§impl Serialize for KeypadControl
impl Serialize for KeypadControl
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for KeypadControl
Auto Trait Implementations§
impl Freeze for KeypadControl
impl RefUnwindSafe for KeypadControl
impl Send for KeypadControl
impl Sync for KeypadControl
impl Unpin for KeypadControl
impl UnsafeUnpin for KeypadControl
impl UnwindSafe for KeypadControl
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