Trait schema_org_types::MediaReviewTrait
source · pub trait MediaReviewTrait {
// Required methods
fn get_media_authenticity_category(
&self
) -> &[MediaAuthenticityCategoryProperty];
fn take_media_authenticity_category(
&mut self
) -> Vec<MediaAuthenticityCategoryProperty>;
fn get_original_media_context_description(
&self
) -> &[OriginalMediaContextDescriptionProperty];
fn take_original_media_context_description(
&mut self
) -> Vec<OriginalMediaContextDescriptionProperty>;
fn get_original_media_link(&self) -> &[OriginalMediaLinkProperty];
fn take_original_media_link(&mut self) -> Vec<OriginalMediaLinkProperty>;
}
Expand description
This trait is for properties from https://schema.org/MediaReview.
Required Methods§
sourcefn get_media_authenticity_category(
&self
) -> &[MediaAuthenticityCategoryProperty]
fn get_media_authenticity_category( &self ) -> &[MediaAuthenticityCategoryProperty]
Get https://schema.org/mediaAuthenticityCategory from Self
as borrowed slice.
sourcefn take_media_authenticity_category(
&mut self
) -> Vec<MediaAuthenticityCategoryProperty>
fn take_media_authenticity_category( &mut self ) -> Vec<MediaAuthenticityCategoryProperty>
Take https://schema.org/mediaAuthenticityCategory from Self
as owned vector.
sourcefn get_original_media_context_description(
&self
) -> &[OriginalMediaContextDescriptionProperty]
fn get_original_media_context_description( &self ) -> &[OriginalMediaContextDescriptionProperty]
Get https://schema.org/originalMediaContextDescription from Self
as borrowed slice.
sourcefn take_original_media_context_description(
&mut self
) -> Vec<OriginalMediaContextDescriptionProperty>
fn take_original_media_context_description( &mut self ) -> Vec<OriginalMediaContextDescriptionProperty>
Take https://schema.org/originalMediaContextDescription from Self
as owned vector.
sourcefn get_original_media_link(&self) -> &[OriginalMediaLinkProperty]
fn get_original_media_link(&self) -> &[OriginalMediaLinkProperty]
Get https://schema.org/originalMediaLink from Self
as borrowed slice.
sourcefn take_original_media_link(&mut self) -> Vec<OriginalMediaLinkProperty>
fn take_original_media_link(&mut self) -> Vec<OriginalMediaLinkProperty>
Take https://schema.org/originalMediaLink from Self
as owned vector.