Struct streamdeck_rs::ImagePayload
source · pub struct ImagePayload {
pub image: Option<String>,
pub target: Target,
pub state: Option<u8>,
}
Expand description
The image to set as part of a SetImage message.
Fields§
§image: Option<String>
An image in the form of a data URI.
target: Target
The target displays.
state: Option<u8>
The state to set the image for. If not set, it is set for all states.
Trait Implementations§
source§impl Debug for ImagePayload
impl Debug for ImagePayload
source§impl<'de> Deserialize<'de> for ImagePayload
impl<'de> Deserialize<'de> for ImagePayload
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