Trait schema_org_types::ResidenceTrait
source · pub trait ResidenceTrait {
// Required methods
fn get_accommodation_floor_plan(&self) -> &[AccommodationFloorPlanProperty];
fn take_accommodation_floor_plan(
&mut self
) -> Vec<AccommodationFloorPlanProperty>;
}
Expand description
This trait is for properties from https://schema.org/Residence.
Required Methods§
sourcefn get_accommodation_floor_plan(&self) -> &[AccommodationFloorPlanProperty]
fn get_accommodation_floor_plan(&self) -> &[AccommodationFloorPlanProperty]
Get https://schema.org/accommodationFloorPlan from Self
as borrowed slice.
sourcefn take_accommodation_floor_plan(
&mut self
) -> Vec<AccommodationFloorPlanProperty>
fn take_accommodation_floor_plan( &mut self ) -> Vec<AccommodationFloorPlanProperty>
Take https://schema.org/accommodationFloorPlan from Self
as owned vector.