pub enum Lang {
Value([u8; 2]),
Invalid(u8),
}Expand description
Individual language for Language Preferences [Spec section 4.4.3.4].
Language preferences are accessible via CardholderRelatedData.
Encoded according to https://en.wikipedia.org/wiki/ISO_639-1
Variants§
Trait Implementations§
impl Copy for Lang
impl Eq for Lang
impl StructuralPartialEq for Lang
Auto Trait Implementations§
impl Freeze for Lang
impl RefUnwindSafe for Lang
impl Send for Lang
impl Sync for Lang
impl Unpin for Lang
impl UnwindSafe for Lang
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