Add more derives
This commit is contained in:
parent
4f2a8dba5d
commit
a289b2f4c9
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ pub enum DhtError {
|
|||
ReadError,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize, Clone, PartialEq, PartialOrd)]
|
||||
pub struct DhtResult {
|
||||
pub temperature: f32,
|
||||
pub humidity: f32,
|
||||
|
|
Loading…
Reference in a new issue