hdp_protobufs/generated/
HDP.worker.hydroponic.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// @generated
// This file is @generated by prost-build.
/// *
/// Configuration for device
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Config {
    #[prost(double, tag="1")]
    pub target_ph: f64,
}
/// *
/// Action to perform live
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Command {
}
/// *
/// Continuous reporting of peripheral devices
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct State {
    #[prost(message, repeated, tag="1")]
    pub sensors: ::prost::alloc::vec::Vec<state::SensorState>,
    #[prost(message, repeated, tag="2")]
    pub pumps: ::prost::alloc::vec::Vec<state::PumpState>,
}
/// Nested message and enum types in `State`.
pub mod state {
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
    pub struct SensorState {
        #[prost(string, tag="1")]
        pub id: ::prost::alloc::string::String,
        #[prost(uint32, repeated, tag="2")]
        pub reading: ::prost::alloc::vec::Vec<u32>,
    }
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
    pub struct PumpState {
        #[prost(string, tag="1")]
        pub id: ::prost::alloc::string::String,
    }
}
// @@protoc_insertion_point(module)