MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / product

Method product

src/lib.rs:149–151  ·  view source on GitHub ↗

Returns product string of the device

(&self)

Source from the content-addressed store, hash-verified

147
148 /// Returns product string of the device
149 pub fn product(&self) -> Result<String, StreamDeckError> {
150 Ok(self.device.get_product_string()?.unwrap_or_else(|| "Unknown".to_string()))
151 }
152
153 /// Returns serial number of the device
154 pub fn serial_number(&self) -> Result<String, StreamDeckError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected