pub struct DeviceInfoResp<'a> {
pub target_id: [u8; 4],
pub se_version: &'a str,
pub flags: &'a [u8],
pub mcu_version: &'a str,
}Expand description
Device info APDU response
Fields§
§target_id: [u8; 4]Target ID
se_version: &'a strSecure Element Version
flags: &'a [u8]Device Flag(s)
mcu_version: &'a strMCU Version
Implementations§
Trait Implementations§
Source§impl<'a> Clone for DeviceInfoResp<'a>
impl<'a> Clone for DeviceInfoResp<'a>
Source§fn clone(&self) -> DeviceInfoResp<'a>
fn clone(&self) -> DeviceInfoResp<'a>
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<'a> Debug for DeviceInfoResp<'a>
impl<'a> Debug for DeviceInfoResp<'a>
Source§impl<'a> Decode<'a> for DeviceInfoResp<'a>
impl<'a> Decode<'a> for DeviceInfoResp<'a>
Source§impl<'a> Encode for DeviceInfoResp<'a>
impl<'a> Encode for DeviceInfoResp<'a>
Source§impl<'a> PartialEq for DeviceInfoResp<'a>
impl<'a> PartialEq for DeviceInfoResp<'a>
impl<'a> Copy for DeviceInfoResp<'a>
impl<'a> StructuralPartialEq for DeviceInfoResp<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceInfoResp<'a>
impl<'a> RefUnwindSafe for DeviceInfoResp<'a>
impl<'a> Send for DeviceInfoResp<'a>
impl<'a> Sync for DeviceInfoResp<'a>
impl<'a> Unpin for DeviceInfoResp<'a>
impl<'a> UnwindSafe for DeviceInfoResp<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> DecodeExt<'a> for Twhere
T: Decode<'a>,
impl<'a, T> DecodeExt<'a> for Twhere
T: Decode<'a>,
Source§fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
Helper to iterate over decodable objects in a sized buffer. Read more