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§

source

fn get_duration(&self) -> &[DurationProperty]

Get https://schema.org/duration from Self as borrowed slice.

source

fn take_duration(&mut self) -> Vec<DurationProperty>

Take https://schema.org/duration from Self as owned vector.

source

fn get_read_by(&self) -> &[ReadByProperty]

Get https://schema.org/readBy from Self as borrowed slice.

source

fn take_read_by(&mut self) -> Vec<ReadByProperty>

Take https://schema.org/readBy from Self as owned vector.

Implementors§