pub struct DocInfo {
pub title: Option<String>,
pub author: Option<String>,
pub subject: Option<String>,
pub keywords: Option<String>,
pub creator: Option<String>,
pub producer: Option<String>,
pub creation_date: Option<String>,
pub mod_date: Option<String>,
pub trapped: Option<String>,
}Expand description
Metadata from the document information dictionary. Every field is optional — producers populate an arbitrary subset.
Fields§
§title: Option<String>/Title — the document’s title.
/Author — the name of the person who created the document.
subject: Option<String>/Subject — the subject of the document.
keywords: Option<String>/Keywords — keywords associated with the document.
creator: Option<String>/Creator — the application that created the original document.
producer: Option<String>/Producer — the application that produced the PDF (often a converter).
creation_date: Option<String>/CreationDate — the raw PDF date string the document was created.
mod_date: Option<String>/ModDate — the raw PDF date string of the most recent modification.
trapped: Option<String>/Trapped — True / False / Unknown (whether the document has been
trapped for printing). Carried as the raw name.
Implementations§
Trait Implementations§
impl Eq for DocInfo
impl StructuralPartialEq for DocInfo
Auto Trait Implementations§
impl Freeze for DocInfo
impl RefUnwindSafe for DocInfo
impl Send for DocInfo
impl Sync for DocInfo
impl Unpin for DocInfo
impl UnsafeUnpin for DocInfo
impl UnwindSafe for DocInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more