/// Generates the QR image in string form.
Generates the QR image in string form.
Generates the QR image in string form .
fn qr_image(&self) -> Result<String, Error> {
        let code = QrCode::with_error_correction_level(self.qr_data(), qrcode::EcLevel::M)?;
        Ok(code
            .render()
            .dark_color(render::svg::Color("black"))
            .light_color(render::svg::Color("white"))
            .quiet_zone(false)
            .build())
    }
fn qr_image ( & self ) -> Result < String , Error > { let code = QrCode :: with_error_correction_level ( self . qr_data ( ) , qrcode :: EcLevel :: M ) ? ; Ok ( code . render ( ) . dark_color ( render :: svg :: Color ( " " ) ) . light_color ( render :: svg :: Color ( " " ) ) . quiet_zone ( false ) . build ( ) ) }
Generates the QR image in string form.
Generates the QR image in string form .
&self