pub struct ProductType {
pub generic: u8,
pub specific: u8,
pub icon: u16,
}Expand description
The QR code’s Product Type block.
Fields§
§generic: u8Generic device class.
specific: u8Specific device class.
icon: u16Installer icon type.
Trait Implementations§
Source§impl Clone for ProductType
impl Clone for ProductType
impl Copy for ProductType
Source§impl Debug for ProductType
impl Debug for ProductType
impl Eq for ProductType
Source§impl PartialEq for ProductType
impl PartialEq for ProductType
impl StructuralPartialEq for ProductType
Auto Trait Implementations§
impl Freeze for ProductType
impl RefUnwindSafe for ProductType
impl Send for ProductType
impl Sync for ProductType
impl Unpin for ProductType
impl UnsafeUnpin for ProductType
impl UnwindSafe for ProductType
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