pub struct SensorManagerSignals {
pub water_temperature: f32,
pub ambient_temperature: f32,
pub ambient_humidity: f32,
pub ph: f32,
pub conductivity: f32,
pub instant_last_recording: Instant,
}Expand description
Container for the signals managed by SensorManager. Controls for heating and ventilation use these signals.
Fields§
§water_temperature: f32Water temperature in °C either coming from Atlas Scientific or Ds18b20
ambient_temperature: f32Ambient temperature in °C either coming from Dht or Ds18b20
ambient_humidity: f32Ambient humidity in % coming from Dht (if enabled)
ph: f32pH
conductivity: f32conductivity in mS
instant_last_recording: InstantRecording of the instant where the mutex is being written
Implementations§
Source§impl SensorManagerSignals
impl SensorManagerSignals
pub fn new(config: &SensorManagerConfig) -> SensorManagerSignals
Auto Trait Implementations§
impl Freeze for SensorManagerSignals
impl RefUnwindSafe for SensorManagerSignals
impl Send for SensorManagerSignals
impl Sync for SensorManagerSignals
impl Unpin for SensorManagerSignals
impl UnwindSafe for SensorManagerSignals
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more