Skip to main content

encode_vcard

Function encode_vcard 

Source
pub fn encode_vcard(name: &str, phone: &str, email: &str) -> String
Expand description

Encodes a minimal vCard 3.0 card.

This is the single source of truth shared with the qrcode-rs facade’s QrCode::for_vcard constructor.