pub fn read_metadata(doc: &Document) -> PdfMetadata
Read metadata from a PDF document’s /Info dictionary.