Trait schema_org_types::AudioObjectTrait
source · pub trait AudioObjectTrait {
// Required methods
fn get_caption(&self) -> &[CaptionProperty];
fn take_caption(&mut self) -> Vec<CaptionProperty>;
fn get_embedded_text_caption(&self) -> &[EmbeddedTextCaptionProperty];
fn take_embedded_text_caption(&mut self) -> Vec<EmbeddedTextCaptionProperty>;
fn get_transcript(&self) -> &[TranscriptProperty];
fn take_transcript(&mut self) -> Vec<TranscriptProperty>;
}
Expand description
This trait is for properties from https://schema.org/AudioObject.
Required Methods§
Get https://schema.org/caption from Self
as borrowed slice.
Take https://schema.org/caption from Self
as owned vector.
Get https://schema.org/embeddedTextCaption from Self
as borrowed slice.
Take https://schema.org/embeddedTextCaption from Self
as owned vector.
sourcefn get_transcript(&self) -> &[TranscriptProperty]
fn get_transcript(&self) -> &[TranscriptProperty]
Get https://schema.org/transcript from Self
as borrowed slice.
sourcefn take_transcript(&mut self) -> Vec<TranscriptProperty>
fn take_transcript(&mut self) -> Vec<TranscriptProperty>
Take https://schema.org/transcript from Self
as owned vector.