[][src]Struct pdf_create::high::Info

pub struct Info {
    pub title: Option<PdfString>,
    pub author: Option<PdfString>,
    pub subject: Option<PdfString>,
    pub keywords: Option<PdfString>,
    pub creator: Option<PdfString>,
    pub producer: Option<PdfString>,
    pub creation_date: Option<DateTime<Local>>,
    pub mod_date: Option<DateTime<Local>>,
    pub trapped: Option<Trapped>,
}

The Metadata/Info

Fields

title: Option<PdfString>

The title

author: Option<PdfString>

The author

subject: Option<PdfString>

The subject

keywords: Option<PdfString>

A list of keywords

creator: Option<PdfString>

The program used to create the source

producer: Option<PdfString>

The program that produced the file (this library)

creation_date: Option<DateTime<Local>>

The date of creation

mod_date: Option<DateTime<Local>>

The date of the last modification

trapped: Option<Trapped>

Whether the PDF is trapped

Implementations

impl Info[src]

pub fn is_empty(&self) -> bool[src]

Check whether the info contains any meaningful data

Trait Implementations

impl Debug for Info[src]

impl Default for Info[src]

impl Serialize for Info[src]

Auto Trait Implementations

impl RefUnwindSafe for Info

impl Send for Info

impl Sync for Info

impl Unpin for Info

impl UnwindSafe for Info

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.