pub struct ApplicationInfo<'a> {
pub application_type: ApplicationType,
pub application_manufacturer: u16,
pub manufacturer_code: u16,
pub menu_string: &'a [u8],
}Expand description
application_info() reply (Table 21). The menu_string is the raw text
bytes of the top-level menu title (EN 300 468 Annex A coding); carried
verbatim so it round-trips.
Fields§
§application_type: ApplicationTypeapplication_type.
application_manufacturer: u16application_manufacturer (16-bit).
manufacturer_code: u16manufacturer_code (16-bit).
text_char bytes of the top-level menu title (length is the
menu_string_length field, max 255).
Trait Implementations§
Source§impl<'a> ApduDef<'a> for ApplicationInfo<'a>
impl<'a> ApduDef<'a> for ApplicationInfo<'a>
Source§impl<'a> Clone for ApplicationInfo<'a>
impl<'a> Clone for ApplicationInfo<'a>
Source§fn clone(&self) -> ApplicationInfo<'a>
fn clone(&self) -> ApplicationInfo<'a>
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<'a> Debug for ApplicationInfo<'a>
impl<'a> Debug for ApplicationInfo<'a>
impl<'a> Eq for ApplicationInfo<'a>
Source§impl<'a> From<ApplicationInfo<'a>> for AnyApdu<'a>
impl<'a> From<ApplicationInfo<'a>> for AnyApdu<'a>
Source§fn from(v: ApplicationInfo<'a>) -> Self
fn from(v: ApplicationInfo<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for ApplicationInfo<'a>
impl<'a> Parse<'a> for ApplicationInfo<'a>
Source§impl<'a> PartialEq for ApplicationInfo<'a>
impl<'a> PartialEq for ApplicationInfo<'a>
Source§impl<'a> Serialize for ApplicationInfo<'a>
Available on crate feature serde only.
impl<'a> Serialize for ApplicationInfo<'a>
Available on crate feature
serde only.Source§impl Serialize for ApplicationInfo<'_>
impl Serialize for ApplicationInfo<'_>
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<'a> StructuralPartialEq for ApplicationInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for ApplicationInfo<'a>
impl<'a> RefUnwindSafe for ApplicationInfo<'a>
impl<'a> Send for ApplicationInfo<'a>
impl<'a> Sync for ApplicationInfo<'a>
impl<'a> Unpin for ApplicationInfo<'a>
impl<'a> UnsafeUnpin for ApplicationInfo<'a>
impl<'a> UnwindSafe for ApplicationInfo<'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