pub trait NewsArticleTrait {
    // Required methods
    fn get_dateline(&self) -> &[DatelineProperty];
    fn take_dateline(&mut self) -> Vec<DatelineProperty>;
    fn get_print_column(&self) -> &[PrintColumnProperty];
    fn take_print_column(&mut self) -> Vec<PrintColumnProperty>;
    fn get_print_edition(&self) -> &[PrintEditionProperty];
    fn take_print_edition(&mut self) -> Vec<PrintEditionProperty>;
    fn get_print_page(&self) -> &[PrintPageProperty];
    fn take_print_page(&mut self) -> Vec<PrintPageProperty>;
    fn get_print_section(&self) -> &[PrintSectionProperty];
    fn take_print_section(&mut self) -> Vec<PrintSectionProperty>;
}
Expand description

This trait is for properties from https://schema.org/NewsArticle.

Required Methods§

Implementors§