Add more derives

This commit is contained in:
hodasemi 2024-07-10 22:04:41 +02:00
parent 4f2a8dba5d
commit a289b2f4c9

View file

@ -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,