pub trait ApartmentTrait {
    // Required methods
    fn get_number_of_rooms(&self) -> &[NumberOfRoomsProperty];
    fn take_number_of_rooms(&mut self) -> Vec<NumberOfRoomsProperty>;
    fn get_occupancy(&self) -> &[OccupancyProperty];
    fn take_occupancy(&mut self) -> Vec<OccupancyProperty>;
}
Expand description

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

Required Methods§

Implementors§