pub fn encode(qr: &QrCode) -> String
Builds a QR code string (for tests, simulators and label printing).