Trait schema_org_types::NewsArticleTrait
source · 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§
sourcefn get_dateline(&self) -> &[DatelineProperty]
fn get_dateline(&self) -> &[DatelineProperty]
Get https://schema.org/dateline from Self
as borrowed slice.
sourcefn take_dateline(&mut self) -> Vec<DatelineProperty>
fn take_dateline(&mut self) -> Vec<DatelineProperty>
Take https://schema.org/dateline from Self
as owned vector.
sourcefn get_print_column(&self) -> &[PrintColumnProperty]
fn get_print_column(&self) -> &[PrintColumnProperty]
Get https://schema.org/printColumn from Self
as borrowed slice.
sourcefn take_print_column(&mut self) -> Vec<PrintColumnProperty>
fn take_print_column(&mut self) -> Vec<PrintColumnProperty>
Take https://schema.org/printColumn from Self
as owned vector.
sourcefn get_print_edition(&self) -> &[PrintEditionProperty]
fn get_print_edition(&self) -> &[PrintEditionProperty]
Get https://schema.org/printEdition from Self
as borrowed slice.
sourcefn take_print_edition(&mut self) -> Vec<PrintEditionProperty>
fn take_print_edition(&mut self) -> Vec<PrintEditionProperty>
Take https://schema.org/printEdition from Self
as owned vector.
sourcefn get_print_page(&self) -> &[PrintPageProperty]
fn get_print_page(&self) -> &[PrintPageProperty]
Get https://schema.org/printPage from Self
as borrowed slice.
sourcefn take_print_page(&mut self) -> Vec<PrintPageProperty>
fn take_print_page(&mut self) -> Vec<PrintPageProperty>
Take https://schema.org/printPage from Self
as owned vector.
sourcefn get_print_section(&self) -> &[PrintSectionProperty]
fn get_print_section(&self) -> &[PrintSectionProperty]
Get https://schema.org/printSection from Self
as borrowed slice.
sourcefn take_print_section(&mut self) -> Vec<PrintSectionProperty>
fn take_print_section(&mut self) -> Vec<PrintSectionProperty>
Take https://schema.org/printSection from Self
as owned vector.