homework: add method to retrieve device to house and implement From trait for PowerSocket and Thermometer
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
mod device;
|
||||
mod error;
|
||||
mod house;
|
||||
mod power_socket;
|
||||
mod room;
|
||||
mod thermometer;
|
||||
|
||||
pub use device::Device;
|
||||
pub use error::Error;
|
||||
pub use house::House;
|
||||
pub use power_socket::PowerSocket;
|
||||
pub use room::Room;
|
||||
|
||||
Reference in New Issue
Block a user