[][src]Struct i3status_rs::blocks::base_block::BaseBlockConfig

pub(super) struct BaseBlockConfig {
    pub on_click: Option<String>,
    pub theme_overrides: Option<HashMap<String, String>>,
    pub icons_format: Option<String>,
}

Fields

on_click: Option<String>

Command to execute when the button is clicked

theme_overrides: Option<HashMap<String, String>>icons_format: Option<String>

Implementations

impl BaseBlockConfig[src]

const FIELDS: &'static [&'static str][src]

pub(super) fn extract(config: &mut Value) -> Value[src]

Trait Implementations

impl Clone for BaseBlockConfig[src]

impl Debug for BaseBlockConfig[src]

impl Default for BaseBlockConfig[src]

impl<'de> Deserialize<'de> for BaseBlockConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for BaseBlockConfig[src]

impl Send for BaseBlockConfig[src]

impl Sync for BaseBlockConfig[src]

impl Unpin for BaseBlockConfig[src]

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