[][src]Struct i3status_rs::blocks::temperature::TemperatureConfig

pub struct TemperatureConfig {
    pub interval: Duration,
    pub collapsed: bool,
    pub scale: TemperatureScale,
    pub good: Option<i64>,
    pub idle: Option<i64>,
    pub info: Option<i64>,
    pub warning: Option<i64>,
    pub format: String,
    pub chip: Option<String>,
    pub inputs: Option<Vec<String>>,
}

Fields

interval: Duration

Update interval in seconds

collapsed: bool

Collapsed by default?

scale: TemperatureScale

The temperature scale to use for display and thresholds

good: Option<i64>

Maximum temperature, below which state is set to good

idle: Option<i64>

Maximum temperature, below which state is set to idle

info: Option<i64>

Maximum temperature, below which state is set to info

warning: Option<i64>

Maximum temperature, below which state is set to warning

format: String

Format override

chip: Option<String>

Chip override

inputs: Option<Vec<String>>

Inputs whitelist

Trait Implementations

impl Clone for TemperatureConfig[src]

impl Debug for TemperatureConfig[src]

impl Default for TemperatureConfig[src]

impl<'de> Deserialize<'de> for TemperatureConfig where
    TemperatureConfig: Default
[src]

Auto Trait Implementations

impl RefUnwindSafe for TemperatureConfig[src]

impl Send for TemperatureConfig[src]

impl Sync for TemperatureConfig[src]

impl Unpin for TemperatureConfig[src]

impl UnwindSafe for TemperatureConfig[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.