Struct streamdeck_rs::DeviceInfo
source · pub struct DeviceInfo {
pub name: Option<String>,
pub size: DeviceSize,
pub _type: Option<DeviceType>,
}Expand description
Information about a hardware device.
Fields§
§name: Option<String>The user-provided name of the device.
Added in Stream Deck software version 4.3.
size: DeviceSizeThe 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§
source§impl Debug for DeviceInfo
impl Debug for DeviceInfo
source§impl<'de> Deserialize<'de> for DeviceInfo
impl<'de> Deserialize<'de> for DeviceInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more