Debian Codegraph @

src/options/config/style/network.rs

raw symbols SCIP
1 use serderust-analyzer cargo serde 1.0.228 crate/::{Deserializerust-analyzer cargo serde_core 1.0.228 de/Deserialize#, Serializerust-analyzer cargo serde_core 1.0.228 ser/Serialize#};
2
3 use superrust-analyzer cargo bottom 0.14.9 options/config/style/::ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#;
4
5 /// Styling specific to the network widget.
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:, Serializerust-analyzer cargo serde_derive 1.0.228 Serialize:)]
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:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:))]
9 pub(craterust-analyzer cargo bottom 0.14.9 crate/) struct NetworkStylerust-analyzer cargo bottom 0.14.9 options/config/style/network/NetworkStyle# {
10 /// The colour of the RX (download) label and graph line.
11 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "rx_color")]
12 pub(craterust-analyzer cargo bottom 0.14.9 crate/) rx_colourrust-analyzer cargo bottom 0.14.9 options/config/style/network/NetworkStyle#rx_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>,
13
14 /// The colour of the TX (upload) label and graph line.
15 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "tx_color")]
16 pub(craterust-analyzer cargo bottom 0.14.9 crate/) tx_colourrust-analyzer cargo bottom 0.14.9 options/config/style/network/NetworkStyle#tx_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>,
17
18 /// The colour of the total RX (download) label in basic mode.
19 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "rx_total_color")]
20 pub(craterust-analyzer cargo bottom 0.14.9 crate/) rx_total_colourrust-analyzer cargo bottom 0.14.9 options/config/style/network/NetworkStyle#rx_total_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>,
21
22 /// The colour of the total TX (upload) label in basic mode.
23 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(alias = "tx_total_color")]
24 pub(craterust-analyzer cargo bottom 0.14.9 crate/) tx_total_colourrust-analyzer cargo bottom 0.14.9 options/config/style/network/NetworkStyle#tx_total_colour.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ColourStrrust-analyzer cargo bottom 0.14.9 options/config/style/ColourStr#>,
25 }