Trait schema_org_types::ReviewTrait
source · pub trait ReviewTrait {
Show 18 methods
// Required methods
fn get_associated_claim_review(&self) -> &[AssociatedClaimReviewProperty];
fn take_associated_claim_review(
&mut self
) -> Vec<AssociatedClaimReviewProperty>;
fn get_associated_media_review(&self) -> &[AssociatedMediaReviewProperty];
fn take_associated_media_review(
&mut self
) -> Vec<AssociatedMediaReviewProperty>;
fn get_associated_review(&self) -> &[AssociatedReviewProperty];
fn take_associated_review(&mut self) -> Vec<AssociatedReviewProperty>;
fn get_item_reviewed(&self) -> &[ItemReviewedProperty];
fn take_item_reviewed(&mut self) -> Vec<ItemReviewedProperty>;
fn get_negative_notes(&self) -> &[NegativeNotesProperty];
fn take_negative_notes(&mut self) -> Vec<NegativeNotesProperty>;
fn get_positive_notes(&self) -> &[PositiveNotesProperty];
fn take_positive_notes(&mut self) -> Vec<PositiveNotesProperty>;
fn get_review_aspect(&self) -> &[ReviewAspectProperty];
fn take_review_aspect(&mut self) -> Vec<ReviewAspectProperty>;
fn get_review_body(&self) -> &[ReviewBodyProperty];
fn take_review_body(&mut self) -> Vec<ReviewBodyProperty>;
fn get_review_rating(&self) -> &[ReviewRatingProperty];
fn take_review_rating(&mut self) -> Vec<ReviewRatingProperty>;
}
Expand description
This trait is for properties from https://schema.org/Review.
Required Methods§
sourcefn get_associated_claim_review(&self) -> &[AssociatedClaimReviewProperty]
fn get_associated_claim_review(&self) -> &[AssociatedClaimReviewProperty]
Get https://schema.org/associatedClaimReview from Self
as borrowed slice.
sourcefn take_associated_claim_review(&mut self) -> Vec<AssociatedClaimReviewProperty>
fn take_associated_claim_review(&mut self) -> Vec<AssociatedClaimReviewProperty>
Take https://schema.org/associatedClaimReview from Self
as owned vector.
sourcefn get_associated_media_review(&self) -> &[AssociatedMediaReviewProperty]
fn get_associated_media_review(&self) -> &[AssociatedMediaReviewProperty]
Get https://schema.org/associatedMediaReview from Self
as borrowed slice.
sourcefn take_associated_media_review(&mut self) -> Vec<AssociatedMediaReviewProperty>
fn take_associated_media_review(&mut self) -> Vec<AssociatedMediaReviewProperty>
Take https://schema.org/associatedMediaReview from Self
as owned vector.
sourcefn get_associated_review(&self) -> &[AssociatedReviewProperty]
fn get_associated_review(&self) -> &[AssociatedReviewProperty]
Get https://schema.org/associatedReview from Self
as borrowed slice.
sourcefn take_associated_review(&mut self) -> Vec<AssociatedReviewProperty>
fn take_associated_review(&mut self) -> Vec<AssociatedReviewProperty>
Take https://schema.org/associatedReview from Self
as owned vector.
sourcefn get_item_reviewed(&self) -> &[ItemReviewedProperty]
fn get_item_reviewed(&self) -> &[ItemReviewedProperty]
Get https://schema.org/itemReviewed from Self
as borrowed slice.
sourcefn take_item_reviewed(&mut self) -> Vec<ItemReviewedProperty>
fn take_item_reviewed(&mut self) -> Vec<ItemReviewedProperty>
Take https://schema.org/itemReviewed from Self
as owned vector.
sourcefn get_negative_notes(&self) -> &[NegativeNotesProperty]
fn get_negative_notes(&self) -> &[NegativeNotesProperty]
Get https://schema.org/negativeNotes from Self
as borrowed slice.
sourcefn take_negative_notes(&mut self) -> Vec<NegativeNotesProperty>
fn take_negative_notes(&mut self) -> Vec<NegativeNotesProperty>
Take https://schema.org/negativeNotes from Self
as owned vector.
sourcefn get_positive_notes(&self) -> &[PositiveNotesProperty]
fn get_positive_notes(&self) -> &[PositiveNotesProperty]
Get https://schema.org/positiveNotes from Self
as borrowed slice.
sourcefn take_positive_notes(&mut self) -> Vec<PositiveNotesProperty>
fn take_positive_notes(&mut self) -> Vec<PositiveNotesProperty>
Take https://schema.org/positiveNotes from Self
as owned vector.
sourcefn get_review_aspect(&self) -> &[ReviewAspectProperty]
fn get_review_aspect(&self) -> &[ReviewAspectProperty]
Get https://schema.org/reviewAspect from Self
as borrowed slice.
sourcefn take_review_aspect(&mut self) -> Vec<ReviewAspectProperty>
fn take_review_aspect(&mut self) -> Vec<ReviewAspectProperty>
Take https://schema.org/reviewAspect from Self
as owned vector.
sourcefn get_review_body(&self) -> &[ReviewBodyProperty]
fn get_review_body(&self) -> &[ReviewBodyProperty]
Get https://schema.org/reviewBody from Self
as borrowed slice.
sourcefn take_review_body(&mut self) -> Vec<ReviewBodyProperty>
fn take_review_body(&mut self) -> Vec<ReviewBodyProperty>
Take https://schema.org/reviewBody from Self
as owned vector.
sourcefn get_review_rating(&self) -> &[ReviewRatingProperty]
fn get_review_rating(&self) -> &[ReviewRatingProperty]
Get https://schema.org/reviewRating from Self
as borrowed slice.
sourcefn take_review_rating(&mut self) -> Vec<ReviewRatingProperty>
fn take_review_rating(&mut self) -> Vec<ReviewRatingProperty>
Take https://schema.org/reviewRating from Self
as owned vector.