Debian Codegraph @

src/options/config/temperature_graph.rs

raw symbols SCIP
1 use serderust-analyzer cargo serde 1.0.228 crate/::Deserializerust-analyzer cargo serde_core 1.0.228 de/Deserialize#;
2
3 use superrust-analyzer cargo bottom 0.14.9 options/config/::IgnoreListrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#;
4
5 /// Temperature graph configuration.
6 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default:, Deserializerust-analyzer cargo serde_derive 1.0.228 Deserialize:)]
7 #[cfg_attr(feature = "generate_schema", derive(schemars::JsonSchema))]
8 #[cfg_attr(test, serde(deny_unknown_fields), derive(PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:))]
9 pub(craterust-analyzer cargo bottom 0.14.9 crate/) struct TempGraphConfigrust-analyzer cargo bottom 0.14.9 options/config/temperature_graph/TempGraphConfig# {
10 /// A filter over the sensor names.
11 pub(craterust-analyzer cargo bottom 0.14.9 crate/) sensor_filterrust-analyzer cargo bottom 0.14.9 options/config/temperature_graph/TempGraphConfig#sensor_filter.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<IgnoreListrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#>,
12
13 /// The location of the graph's legend.
14 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(default)]
15 pub(craterust-analyzer cargo bottom 0.14.9 crate/) legend_positionrust-analyzer cargo bottom 0.14.9 options/config/temperature_graph/TempGraphConfig#legend_position.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>,
16
17 /// An upper temperature value for the graph; entries higher than this will be hidden. If not set,
18 /// there is no limit.
19 ///
20 /// Is in the configured temperature unit.
21 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(default)]
22 pub(craterust-analyzer cargo bottom 0.14.9 crate/) max_temprust-analyzer cargo bottom 0.14.9 options/config/temperature_graph/TempGraphConfig#max_temp.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<f64>,
23 }