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: 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§
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
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more