Struct printpdf::types::pdf_metadata::PdfMetadata [] [src]

pub struct PdfMetadata {
    pub creation_date: DateTime<Local>,
    pub modification_date: DateTime<Local>,
    pub metadata_date: DateTime<Local>,
    pub document_title: String,
    pub trapping: bool,
    pub document_version: u32,
    pub conformance: PdfConformance,
    pub xmp_metadata: XmpMetadata,
    pub document_info: DocumentInfo,
    pub target_icc_profile: Option<IccProfile>,
}

This is a wrapper in order to keep shared data between the documents XMP metadata and the "Info" dictionary in sync

Fields

Creation date of the document

Modification date of the document

Creation date of the metadata

PDF document title

Is the document trapped?

PDF document version

PDF Standard

XMP Metadata. Is ignored on save if the PDF conformance does not allow XMP

PDF Info dictionary. Contains metadata for this document

Target color profile

Methods

impl PdfMetadata
[src]

[src]

Creates a new metadat object

[src]

Consumes the metadata, returning the (Option, document_info, icc_profile_stream).

Trait Implementations

impl Debug for PdfMetadata
[src]

[src]

Formats the value using the given formatter.

impl Clone for PdfMetadata
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more