pub trait RecommendationTrait {
    // Required methods
    fn get_category(&self) -> &[CategoryProperty];
    fn take_category(&mut self) -> Vec<CategoryProperty>;
}
Expand description

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

Required Methods§

source

fn get_category(&self) -> &[CategoryProperty]

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

source

fn take_category(&mut self) -> Vec<CategoryProperty>

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

Implementors§