Skip to main content

government_letter

Function government_letter 

Source
pub fn government_letter(
    sender: &str,
    subject: &str,
    issued_unix: u32,
) -> AuthorityAttestation
Expand description

The “government letter” specialization: an AuthorityAttestation whose authority is a government (authority_type::GOVERNMENT), labelled from sender, delivered as a Pdf.

This makes the old GovernmentLetter just a preset of the general model. subject is used both as the attestation subject and its statement/subject line (a government letter’s “what it’s about” is its subject line).