[][src]Struct i3status_rs::blocks::kdeconnect::KDEConnectConfig

pub struct KDEConnectConfig {
    pub device_id: Option<String>,
    pub bat_good: i32,
    pub bat_info: i32,
    pub bat_warning: i32,
    pub bat_critical: i32,
    pub format: String,
    pub format_disconnected: String,
}

Fields

device_id: Option<String>bat_good: i32

The threshold above which the remaining capacity is shown as good

bat_info: i32

The threshold below which the remaining capacity is shown as info

bat_warning: i32

The threshold below which the remaining capacity is shown as warning

bat_critical: i32

The threshold below which the remaining capacity is shown as critical

format: String

Format string for displaying phone information.

format_disconnected: String

Format string for displaying phone information when it is disconnected.

Trait Implementations

impl Clone for KDEConnectConfig[src]

impl Debug for KDEConnectConfig[src]

impl Default for KDEConnectConfig[src]

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

Auto Trait Implementations

impl RefUnwindSafe for KDEConnectConfig[src]

impl Send for KDEConnectConfig[src]

impl Sync for KDEConnectConfig[src]

impl Unpin for KDEConnectConfig[src]

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