tailor_api 0.2.1

API types for communication with tailord (part of tuxedo-rs)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, Default, Clone, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub struct ProfileInfo {
    pub fans: Vec<String>,
    pub leds: Vec<LedProfile>,
    pub performance_profile: Option<String>,
}

#[derive(Debug, Clone, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub struct LedProfile {
    pub device_name: String,
    pub function: String,
    pub profile: String,
}