Trait schema_org_types::HyperTocTrait
source · pub trait HyperTocTrait {
// Required methods
fn get_associated_media(&self) -> &[AssociatedMediaProperty];
fn take_associated_media(&mut self) -> Vec<AssociatedMediaProperty>;
fn get_toc_entry(&self) -> &[TocEntryProperty];
fn take_toc_entry(&mut self) -> Vec<TocEntryProperty>;
}
Expand description
This trait is for properties from https://schema.org/HyperToc.
Required Methods§
sourcefn get_associated_media(&self) -> &[AssociatedMediaProperty]
fn get_associated_media(&self) -> &[AssociatedMediaProperty]
Get https://schema.org/associatedMedia from Self
as borrowed slice.
sourcefn take_associated_media(&mut self) -> Vec<AssociatedMediaProperty>
fn take_associated_media(&mut self) -> Vec<AssociatedMediaProperty>
Take https://schema.org/associatedMedia from Self
as owned vector.
sourcefn get_toc_entry(&self) -> &[TocEntryProperty]
fn get_toc_entry(&self) -> &[TocEntryProperty]
Get https://schema.org/tocEntry from Self
as borrowed slice.
sourcefn take_toc_entry(&mut self) -> Vec<TocEntryProperty>
fn take_toc_entry(&mut self) -> Vec<TocEntryProperty>
Take https://schema.org/tocEntry from Self
as owned vector.