pub trait MediaObjectTrait {
Show 40 methods // Required methods fn get_associated_article(&self) -> &[AssociatedArticleProperty]; fn take_associated_article(&mut self) -> Vec<AssociatedArticleProperty>; fn get_bitrate(&self) -> &[BitrateProperty]; fn take_bitrate(&mut self) -> Vec<BitrateProperty>; fn get_content_size(&self) -> &[ContentSizeProperty]; fn take_content_size(&mut self) -> Vec<ContentSizeProperty>; fn get_content_url(&self) -> &[ContentUrlProperty]; fn take_content_url(&mut self) -> Vec<ContentUrlProperty>; fn get_duration(&self) -> &[DurationProperty]; fn take_duration(&mut self) -> Vec<DurationProperty>; fn get_embed_url(&self) -> &[EmbedUrlProperty]; fn take_embed_url(&mut self) -> Vec<EmbedUrlProperty>; fn get_encodes_creative_work(&self) -> &[EncodesCreativeWorkProperty]; fn take_encodes_creative_work(&mut self) -> Vec<EncodesCreativeWorkProperty>; fn get_encoding_format(&self) -> &[EncodingFormatProperty]; fn take_encoding_format(&mut self) -> Vec<EncodingFormatProperty>; fn get_end_time(&self) -> &[EndTimeProperty]; fn take_end_time(&mut self) -> Vec<EndTimeProperty>; fn get_height(&self) -> &[HeightProperty]; fn take_height(&mut self) -> Vec<HeightProperty>; fn get_ineligible_region(&self) -> &[IneligibleRegionProperty]; fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>; fn get_interpreted_as_claim(&self) -> &[InterpretedAsClaimProperty]; fn take_interpreted_as_claim(&mut self) -> Vec<InterpretedAsClaimProperty>; fn get_player_type(&self) -> &[PlayerTypeProperty]; fn take_player_type(&mut self) -> Vec<PlayerTypeProperty>; fn get_production_company(&self) -> &[ProductionCompanyProperty]; fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>; fn get_regions_allowed(&self) -> &[RegionsAllowedProperty]; fn take_regions_allowed(&mut self) -> Vec<RegionsAllowedProperty>; fn get_requires_subscription(&self) -> &[RequiresSubscriptionProperty]; fn take_requires_subscription( &mut self ) -> Vec<RequiresSubscriptionProperty>; fn get_sha_256(&self) -> &[Sha256Property]; fn take_sha_256(&mut self) -> Vec<Sha256Property>; fn get_start_time(&self) -> &[StartTimeProperty]; fn take_start_time(&mut self) -> Vec<StartTimeProperty>; fn get_upload_date(&self) -> &[UploadDateProperty]; fn take_upload_date(&mut self) -> Vec<UploadDateProperty>; fn get_width(&self) -> &[WidthProperty]; fn take_width(&mut self) -> Vec<WidthProperty>;
}
Expand description

This trait is for properties from https://schema.org/MediaObject.

Required Methods§

source

fn get_associated_article(&self) -> &[AssociatedArticleProperty]

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

source

fn take_associated_article(&mut self) -> Vec<AssociatedArticleProperty>

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

source

fn get_bitrate(&self) -> &[BitrateProperty]

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

source

fn take_bitrate(&mut self) -> Vec<BitrateProperty>

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

source

fn get_content_size(&self) -> &[ContentSizeProperty]

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

source

fn take_content_size(&mut self) -> Vec<ContentSizeProperty>

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

source

fn get_content_url(&self) -> &[ContentUrlProperty]

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

source

fn take_content_url(&mut self) -> Vec<ContentUrlProperty>

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

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_embed_url(&self) -> &[EmbedUrlProperty]

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

source

fn take_embed_url(&mut self) -> Vec<EmbedUrlProperty>

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

source

fn get_encodes_creative_work(&self) -> &[EncodesCreativeWorkProperty]

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

source

fn take_encodes_creative_work(&mut self) -> Vec<EncodesCreativeWorkProperty>

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

source

fn get_encoding_format(&self) -> &[EncodingFormatProperty]

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

source

fn take_encoding_format(&mut self) -> Vec<EncodingFormatProperty>

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

source

fn get_end_time(&self) -> &[EndTimeProperty]

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

source

fn take_end_time(&mut self) -> Vec<EndTimeProperty>

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

source

fn get_height(&self) -> &[HeightProperty]

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

source

fn take_height(&mut self) -> Vec<HeightProperty>

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

source

fn get_ineligible_region(&self) -> &[IneligibleRegionProperty]

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

source

fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>

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

source

fn get_interpreted_as_claim(&self) -> &[InterpretedAsClaimProperty]

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

source

fn take_interpreted_as_claim(&mut self) -> Vec<InterpretedAsClaimProperty>

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

source

fn get_player_type(&self) -> &[PlayerTypeProperty]

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

source

fn take_player_type(&mut self) -> Vec<PlayerTypeProperty>

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

source

fn get_production_company(&self) -> &[ProductionCompanyProperty]

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

source

fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>

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

source

fn get_regions_allowed(&self) -> &[RegionsAllowedProperty]

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

source

fn take_regions_allowed(&mut self) -> Vec<RegionsAllowedProperty>

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

source

fn get_requires_subscription(&self) -> &[RequiresSubscriptionProperty]

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

source

fn take_requires_subscription(&mut self) -> Vec<RequiresSubscriptionProperty>

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

source

fn get_sha_256(&self) -> &[Sha256Property]

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

source

fn take_sha_256(&mut self) -> Vec<Sha256Property>

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

source

fn get_start_time(&self) -> &[StartTimeProperty]

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

source

fn take_start_time(&mut self) -> Vec<StartTimeProperty>

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

source

fn get_upload_date(&self) -> &[UploadDateProperty]

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

source

fn take_upload_date(&mut self) -> Vec<UploadDateProperty>

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

source

fn get_width(&self) -> &[WidthProperty]

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

source

fn take_width(&mut self) -> Vec<WidthProperty>

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

Implementors§