pub trait TouristDestinationTrait {
// Required methods
fn get_includes_attraction(&self) -> &[IncludesAttractionProperty];
fn take_includes_attraction(&mut self) -> Vec<IncludesAttractionProperty>;
fn get_tourist_type(&self) -> &[TouristTypeProperty];
fn take_tourist_type(&mut self) -> Vec<TouristTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/TouristDestination.
Required Methods§
sourcefn get_includes_attraction(&self) -> &[IncludesAttractionProperty]
fn get_includes_attraction(&self) -> &[IncludesAttractionProperty]
Get https://schema.org/includesAttraction from Self
as borrowed slice.
sourcefn take_includes_attraction(&mut self) -> Vec<IncludesAttractionProperty>
fn take_includes_attraction(&mut self) -> Vec<IncludesAttractionProperty>
Take https://schema.org/includesAttraction from Self
as owned vector.
sourcefn get_tourist_type(&self) -> &[TouristTypeProperty]
fn get_tourist_type(&self) -> &[TouristTypeProperty]
Get https://schema.org/touristType from Self
as borrowed slice.
sourcefn take_tourist_type(&mut self) -> Vec<TouristTypeProperty>
fn take_tourist_type(&mut self) -> Vec<TouristTypeProperty>
Take https://schema.org/touristType from Self
as owned vector.