Mercurial > templog
diff rust/src/types.rs @ 596:ca8102feaca6 rust
sensor takes config parameter
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 06 Jan 2017 22:04:10 +0800 |
parents | e87655ed8429 |
children | b45b8b4cf0f5 |
line wrap: on
line diff
--- a/rust/src/types.rs Thu Jan 05 23:26:00 2017 +0800 +++ b/rust/src/types.rs Fri Jan 06 22:04:10 2017 +0800 @@ -2,7 +2,7 @@ use std::time::Duration; use serde::{Deserialize,Serialize}; -#[derive(Deserialize, Serialize, Debug, Clone)] +#[derive(Deserialize, Serialize, Debug)] pub struct Params { pub fridge_setpoint: f32, pub fridge_difference: f32,