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

pub struct KDEConnect {
    id: usize,
    device_id: String,
    device_name: Arc<Mutex<String>>,
    battery_charge: Arc<Mutex<i32>>,
    battery_state: Arc<Mutex<bool>>,
    notif_count: Arc<Mutex<i32>>,
    phone_reachable: Arc<Mutex<bool>>,
    bat_good: i32,
    bat_info: i32,
    bat_warning: i32,
    bat_critical: i32,
    format: FormatTemplate,
    format_disconnected: FormatTemplate,
    output: TextWidget,
    shared_config: SharedConfig,
}

Fields

id: usizedevice_id: Stringdevice_name: Arc<Mutex<String>>battery_charge: Arc<Mutex<i32>>battery_state: Arc<Mutex<bool>>notif_count: Arc<Mutex<i32>>phone_reachable: Arc<Mutex<bool>>bat_good: i32bat_info: i32bat_warning: i32bat_critical: i32format: FormatTemplateformat_disconnected: FormatTemplateoutput: TextWidgetshared_config: SharedConfig

Trait Implementations

impl Block for KDEConnect[src]

impl ConfigBlock for KDEConnect[src]

type Config = KDEConnectConfig

Auto Trait Implementations

impl !RefUnwindSafe for KDEConnect[src]

impl !Send for KDEConnect[src]

impl !Sync for KDEConnect[src]

impl Unpin for KDEConnect[src]

impl UnwindSafe for KDEConnect[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> From<T> for T[src]

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

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.