Trait malwaredb_types::doc::DocumentFile

source ·
pub trait DocumentFile {
    // Required methods
    fn pages(&self) -> u32;
    fn author(&self) -> Option<String>;
    fn title(&self) -> Option<String>;
    fn has_javascript(&self) -> bool;
    fn has_form(&self) -> bool;
    fn creation_time(&self) -> Option<DateTime<Utc>>;
    fn modification_time(&self) -> Option<DateTime<Utc>>;
}

Required Methods§

Implementors§

source§

impl<'a> DocumentFile for Office95<'a>

source§

impl<'a> DocumentFile for PDF<'a>

source§

impl<'a> DocumentFile for Rtf<'a>