[][src]Struct i3status_rs::blocks::bluetooth::BluetoothConfig

pub struct BluetoothConfig {
    pub mac: String,
    pub label: Option<String>,
    pub hide_disconnected: bool,
    pub format: String,
    pub format_unavailable: String,
}

Fields

mac: Stringlabel: Option<String>hide_disconnected: boolformat: Stringformat_unavailable: String

Implementations

impl BluetoothConfig[src]

fn default_hide_disconnected() -> bool[src]

fn default_format() -> String[src]

fn default_format_unavailable() -> String[src]

Trait Implementations

impl Clone for BluetoothConfig[src]

impl Debug for BluetoothConfig[src]

impl Default for BluetoothConfig[src]

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

Auto Trait Implementations

impl RefUnwindSafe for BluetoothConfig[src]

impl Send for BluetoothConfig[src]

impl Sync for BluetoothConfig[src]

impl Unpin for BluetoothConfig[src]

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