Function deltachat::qr::format_backup
source ยท pub fn format_backup(qr: &Qr) -> Result<String>
Expand description
Formats the text of the Qr::Backup2
variant.
This is the inverse of check_qr
for that variant only.
TODO: Refactor this so all variants have a correct [Display
] and transform check_qr
into FromStr
.