pub struct QrCode {
pub version: u8,
pub ecc_level: EccLevel,
pub data_type: DataType,
pub eci: ECI,
pub payload: Vec<u8>,
}
Expand description
A QR code.
Fields§
§version: u8
§ecc_level: EccLevel
§data_type: DataType
§eci: ECI
§payload: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QrCode
impl RefUnwindSafe for QrCode
impl Send for QrCode
impl Sync for QrCode
impl Unpin for QrCode
impl UnwindSafe for QrCode
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