Trait schema_org_types::AudiobookTrait
source · pub trait AudiobookTrait {
// Required methods
fn get_duration(&self) -> &[DurationProperty];
fn take_duration(&mut self) -> Vec<DurationProperty>;
fn get_read_by(&self) -> &[ReadByProperty];
fn take_read_by(&mut self) -> Vec<ReadByProperty>;
}
Expand description
This trait is for properties from https://schema.org/Audiobook.
Required Methods§
sourcefn get_duration(&self) -> &[DurationProperty]
fn get_duration(&self) -> &[DurationProperty]
Get https://schema.org/duration from Self
as borrowed slice.
sourcefn take_duration(&mut self) -> Vec<DurationProperty>
fn take_duration(&mut self) -> Vec<DurationProperty>
Take https://schema.org/duration from Self
as owned vector.
sourcefn get_read_by(&self) -> &[ReadByProperty]
fn get_read_by(&self) -> &[ReadByProperty]
Get https://schema.org/readBy from Self
as borrowed slice.
sourcefn take_read_by(&mut self) -> Vec<ReadByProperty>
fn take_read_by(&mut self) -> Vec<ReadByProperty>
Take https://schema.org/readBy from Self
as owned vector.