Trait schema_org_types::TouristTripTrait
source · pub trait TouristTripTrait {
// Required methods
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/TouristTrip.
Required Methods§
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.