[][src]Struct i3status_rs::blocks::hueshift::HueshiftConfig

pub struct HueshiftConfig {
    pub interval: Duration,
    pub max_temp: u16,
    pub min_temp: u16,
    pub current_temp: u16,
    pub hue_shifter: Option<HueShifter>,
    pub step: u16,
    pub click_temp: u16,
}

Fields

interval: Duration

Update interval in seconds

max_temp: u16min_temp: u16current_temp: u16

Currently defined temperature default to 6500K.

hue_shifter: Option<HueShifter>

Can be set by user as an option.

step: u16

Default to 100K, cannot go over 500K.

click_temp: u16

Trait Implementations

impl Clone for HueshiftConfig[src]

impl Debug for HueshiftConfig[src]

impl Default for HueshiftConfig[src]

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

Auto Trait Implementations

impl RefUnwindSafe for HueshiftConfig[src]

impl Send for HueshiftConfig[src]

impl Sync for HueshiftConfig[src]

impl Unpin for HueshiftConfig[src]

impl UnwindSafe for HueshiftConfig[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.