bottom 0.14.6

A customizable cross-platform graphical process/system monitor for the terminal. Supports Linux, macOS, and Windows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

use super::ColourStr;

/// Styling specific to the temperature graph widget.
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[cfg_attr(feature = "generate_schema", derive(schemars::JsonSchema))]
#[cfg_attr(test, serde(deny_unknown_fields), derive(PartialEq, Eq))]
pub(crate) struct TempGraphStyle {
    /// Colour of each temperature sensor's graph line. Read in order.
    #[serde(alias = "temp_graph_color_styles")]
    pub(crate) temp_graph_colour_styles: Option<Vec<ColourStr>>,
}