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

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

Required Methods§

Implementors§