// This file is @generated by prost-build.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Fan {
    #[prost(string, optional, tag = "1")]
    pub fan_label: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "2")]
    pub temp_name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(uint32, required, tag = "3")]
    pub fan_index: u32,
    #[prost(uint32, required, tag = "4")]
    pub hwmon_index: u32,
    #[prost(uint32, required, tag = "5")]
    pub rpm: u32,
    #[prost(uint32, optional, tag = "6")]
    pub temp_amount: ::core::option::Option<u32>,
    #[prost(float, optional, tag = "7")]
    pub pwm_percent: ::core::option::Option<f32>,
    #[prost(uint32, optional, tag = "8")]
    pub max_rpm: ::core::option::Option<u32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FansRequest {}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FansResponse {
    #[prost(oneof = "fans_response::Response", tags = "1, 2")]
    pub response: ::core::option::Option<fans_response::Response>,
}
/// Nested message and enum types in `FansResponse`.
pub mod fans_response {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct FanList {
        #[prost(message, repeated, tag = "1")]
        pub fans: ::prost::alloc::vec::Vec<super::Fan>,
    }
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(strum::EnumIter)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Response {
        #[prost(message, tag = "1")]
        Fans(FanList),
        #[prost(message, tag = "2")]
        Error(super::FansResponseError),
    }
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FansResponseError {}
