[][src]Struct streamdeck_rs::DeviceInfo

pub struct DeviceInfo {
    pub name: Option<String>,
    pub size: DeviceSize,
    pub _type: Option<DeviceType>,
}

Information about a hardware device.

Official Documentation

Fields

name: Option<String>

The user-provided name of the device.

Added in Stream Deck software version 4.3.

size: DeviceSize

The size of the device.

_type: Option<DeviceType>

The type of the device, or None if the Stream Deck software is running with no device attached.

Trait Implementations

impl Debug for DeviceInfo[src]

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

Auto Trait Implementations

impl Send for DeviceInfo

impl Sync for DeviceInfo

Blanket Implementations

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

impl<T> From<T> for 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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]