Trait schema_org_types::VideoObjectTrait
source · pub trait VideoObjectTrait {
Show 20 methods
// Required methods
fn get_actor(&self) -> &[ActorProperty];
fn take_actor(&mut self) -> Vec<ActorProperty>;
fn get_actors(&self) -> &[ActorsProperty];
fn take_actors(&mut self) -> Vec<ActorsProperty>;
fn get_caption(&self) -> &[CaptionProperty];
fn take_caption(&mut self) -> Vec<CaptionProperty>;
fn get_director(&self) -> &[DirectorProperty];
fn take_director(&mut self) -> Vec<DirectorProperty>;
fn get_directors(&self) -> &[DirectorsProperty];
fn take_directors(&mut self) -> Vec<DirectorsProperty>;
fn get_embedded_text_caption(&self) -> &[EmbeddedTextCaptionProperty];
fn take_embedded_text_caption(&mut self) -> Vec<EmbeddedTextCaptionProperty>;
fn get_music_by(&self) -> &[MusicByProperty];
fn take_music_by(&mut self) -> Vec<MusicByProperty>;
fn get_transcript(&self) -> &[TranscriptProperty];
fn take_transcript(&mut self) -> Vec<TranscriptProperty>;
fn get_video_frame_size(&self) -> &[VideoFrameSizeProperty];
fn take_video_frame_size(&mut self) -> Vec<VideoFrameSizeProperty>;
fn get_video_quality(&self) -> &[VideoQualityProperty];
fn take_video_quality(&mut self) -> Vec<VideoQualityProperty>;
}
Expand description
This trait is for properties from https://schema.org/VideoObject.
Required Methods§
sourcefn get_actor(&self) -> &[ActorProperty]
fn get_actor(&self) -> &[ActorProperty]
Get https://schema.org/actor from Self
as borrowed slice.
sourcefn take_actor(&mut self) -> Vec<ActorProperty>
fn take_actor(&mut self) -> Vec<ActorProperty>
Take https://schema.org/actor from Self
as owned vector.
sourcefn get_actors(&self) -> &[ActorsProperty]
fn get_actors(&self) -> &[ActorsProperty]
Get https://schema.org/actors from Self
as borrowed slice.
sourcefn take_actors(&mut self) -> Vec<ActorsProperty>
fn take_actors(&mut self) -> Vec<ActorsProperty>
Take https://schema.org/actors from Self
as owned vector.
Get https://schema.org/caption from Self
as borrowed slice.
Take https://schema.org/caption from Self
as owned vector.
sourcefn get_director(&self) -> &[DirectorProperty]
fn get_director(&self) -> &[DirectorProperty]
Get https://schema.org/director from Self
as borrowed slice.
sourcefn take_director(&mut self) -> Vec<DirectorProperty>
fn take_director(&mut self) -> Vec<DirectorProperty>
Take https://schema.org/director from Self
as owned vector.
sourcefn get_directors(&self) -> &[DirectorsProperty]
fn get_directors(&self) -> &[DirectorsProperty]
Get https://schema.org/directors from Self
as borrowed slice.
sourcefn take_directors(&mut self) -> Vec<DirectorsProperty>
fn take_directors(&mut self) -> Vec<DirectorsProperty>
Take https://schema.org/directors 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_music_by(&self) -> &[MusicByProperty]
fn get_music_by(&self) -> &[MusicByProperty]
Get https://schema.org/musicBy from Self
as borrowed slice.
sourcefn take_music_by(&mut self) -> Vec<MusicByProperty>
fn take_music_by(&mut self) -> Vec<MusicByProperty>
Take https://schema.org/musicBy 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.
sourcefn get_video_frame_size(&self) -> &[VideoFrameSizeProperty]
fn get_video_frame_size(&self) -> &[VideoFrameSizeProperty]
Get https://schema.org/videoFrameSize from Self
as borrowed slice.
sourcefn take_video_frame_size(&mut self) -> Vec<VideoFrameSizeProperty>
fn take_video_frame_size(&mut self) -> Vec<VideoFrameSizeProperty>
Take https://schema.org/videoFrameSize from Self
as owned vector.
sourcefn get_video_quality(&self) -> &[VideoQualityProperty]
fn get_video_quality(&self) -> &[VideoQualityProperty]
Get https://schema.org/videoQuality from Self
as borrowed slice.
sourcefn take_video_quality(&mut self) -> Vec<VideoQualityProperty>
fn take_video_quality(&mut self) -> Vec<VideoQualityProperty>
Take https://schema.org/videoQuality from Self
as owned vector.