pub trait WebPageTrait {
Show 20 methods // Required methods fn get_breadcrumb(&self) -> &[BreadcrumbProperty]; fn take_breadcrumb(&mut self) -> Vec<BreadcrumbProperty>; fn get_last_reviewed(&self) -> &[LastReviewedProperty]; fn take_last_reviewed(&mut self) -> Vec<LastReviewedProperty>; fn get_main_content_of_page(&self) -> &[MainContentOfPageProperty]; fn take_main_content_of_page(&mut self) -> Vec<MainContentOfPageProperty>; fn get_primary_image_of_page(&self) -> &[PrimaryImageOfPageProperty]; fn take_primary_image_of_page(&mut self) -> Vec<PrimaryImageOfPageProperty>; fn get_related_link(&self) -> &[RelatedLinkProperty]; fn take_related_link(&mut self) -> Vec<RelatedLinkProperty>; fn get_reviewed_by(&self) -> &[ReviewedByProperty]; fn take_reviewed_by(&mut self) -> Vec<ReviewedByProperty>; fn get_significant_link(&self) -> &[SignificantLinkProperty]; fn take_significant_link(&mut self) -> Vec<SignificantLinkProperty>; fn get_significant_links(&self) -> &[SignificantLinksProperty]; fn take_significant_links(&mut self) -> Vec<SignificantLinksProperty>; fn get_speakable(&self) -> &[SpeakableProperty]; fn take_speakable(&mut self) -> Vec<SpeakableProperty>; fn get_specialty(&self) -> &[SpecialtyProperty]; fn take_specialty(&mut self) -> Vec<SpecialtyProperty>;
}
Expand description

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

Required Methods§

source

fn get_breadcrumb(&self) -> &[BreadcrumbProperty]

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

source

fn take_breadcrumb(&mut self) -> Vec<BreadcrumbProperty>

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

source

fn get_last_reviewed(&self) -> &[LastReviewedProperty]

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

source

fn take_last_reviewed(&mut self) -> Vec<LastReviewedProperty>

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

source

fn get_main_content_of_page(&self) -> &[MainContentOfPageProperty]

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

source

fn take_main_content_of_page(&mut self) -> Vec<MainContentOfPageProperty>

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

source

fn get_primary_image_of_page(&self) -> &[PrimaryImageOfPageProperty]

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

source

fn take_primary_image_of_page(&mut self) -> Vec<PrimaryImageOfPageProperty>

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

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

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

source

fn get_reviewed_by(&self) -> &[ReviewedByProperty]

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

source

fn take_reviewed_by(&mut self) -> Vec<ReviewedByProperty>

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

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

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

👎Deprecated: This schema is superseded by https://schema.org/significantLink.

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

👎Deprecated: This schema is superseded by https://schema.org/significantLink.

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

source

fn get_speakable(&self) -> &[SpeakableProperty]

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

source

fn take_speakable(&mut self) -> Vec<SpeakableProperty>

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

source

fn get_specialty(&self) -> &[SpecialtyProperty]

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

source

fn take_specialty(&mut self) -> Vec<SpecialtyProperty>

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

Implementors§