Trait schema_org_types::ChapterTrait
source · pub trait ChapterTrait {
// Required methods
fn get_page_end(&self) -> &[PageEndProperty];
fn take_page_end(&mut self) -> Vec<PageEndProperty>;
fn get_page_start(&self) -> &[PageStartProperty];
fn take_page_start(&mut self) -> Vec<PageStartProperty>;
fn get_pagination(&self) -> &[PaginationProperty];
fn take_pagination(&mut self) -> Vec<PaginationProperty>;
}
Expand description
This trait is for properties from https://schema.org/Chapter.
Required Methods§
sourcefn get_page_end(&self) -> &[PageEndProperty]
fn get_page_end(&self) -> &[PageEndProperty]
Get https://schema.org/pageEnd from Self
as borrowed slice.
sourcefn take_page_end(&mut self) -> Vec<PageEndProperty>
fn take_page_end(&mut self) -> Vec<PageEndProperty>
Take https://schema.org/pageEnd from Self
as owned vector.
sourcefn get_page_start(&self) -> &[PageStartProperty]
fn get_page_start(&self) -> &[PageStartProperty]
Get https://schema.org/pageStart from Self
as borrowed slice.
sourcefn take_page_start(&mut self) -> Vec<PageStartProperty>
fn take_page_start(&mut self) -> Vec<PageStartProperty>
Take https://schema.org/pageStart from Self
as owned vector.
sourcefn get_pagination(&self) -> &[PaginationProperty]
fn get_pagination(&self) -> &[PaginationProperty]
Get https://schema.org/pagination from Self
as borrowed slice.
sourcefn take_pagination(&mut self) -> Vec<PaginationProperty>
fn take_pagination(&mut self) -> Vec<PaginationProperty>
Take https://schema.org/pagination from Self
as owned vector.