[−][src]Enum streamdeck_rs::Message
A message received from the Stream Deck software.
Grepresents the global settings that are persisted within the Stream Deck software.Srepresents the settings that are persisted within the Stream Deck software.Mrepresents the messages that are received from the property inspector.
Variants
A key has been pressed.
Fields of KeyDown
action: StringThe uuid of the action.
context: StringThe instance of the action (key or part of a multiaction).
device: StringThe device where the key was pressed.
payload: KeyPayload<S>Additional information about the key press.
A key has been released.
Fields of KeyUp
action: StringThe uuid of the action.
context: StringThe instance of the action (key or part of a multiaction).
device: StringThe device where the key was pressed.
payload: KeyPayload<S>Additional information about the key press.
An instance of the action has been added to the display.
Fields of WillAppear
action: StringThe uuid of the action.
context: StringThe instance of the action (key or part of a multiaction).
device: Option<String>The device where the action will appear, or None if it does not appear on a device.
payload: VisibilityPayload<S>Additional information about the action's appearance.
An instance of the action has been removed from the display.
Fields of WillDisappear
action: StringThe uuid of the action.
context: StringThe instance of the action (key or part of a multiaction).
device: Option<String>The device where the action was visible, or None if it was not on a device.
payload: VisibilityPayload<S>Additional information about the action's appearance.
The title has changed for an instance of an action.
Fields of TitleParametersDidChange
action: StringThe uuid of the action.
context: StringThe instance of the action (key or part of a multiaction).
device: Option<String>The device where the action is visible, or None if it is not on a device.
payload: TitleParametersPayload<S>Additional information about the new title.
A device has connected.
Fields of DeviceDidConnect
device: StringThe ID of the device that has connected.
device_info: DeviceInfoInformation about the device.
A device has disconnected.
Fields of DeviceDidDisconnect
device: StringThe ID of the device that has disconnected.
An application monitored by the manifest file has launched.
Fields of ApplicationDidLaunch
payload: ApplicationPayloadInformation about the launched application.
An application monitored by the manifest file has terminated.
Fields of ApplicationDidTerminate
payload: ApplicationPayloadInformation about the terminated application.
The property inspector has sent data.
Fields of SendToPlugin
The application has sent settings for an action.
This message is sent in response to GetSettings, but also after the property inspector changes the settings.
Fields of DidReceiveSettings
action: StringThe uuid of the action.
context: StringThe instance of the action (key or part of a multiaction).
device: StringThe device where the action exists.
payload: KeyPayload<S>The current settings for the action.
The property inspector for an action has become visible.
Fields of PropertyInspectorDidAppear
The property inspector for an action is no longer visible.
Fields of PropertyInspectorDidDisappear
The application has sent settings for an action.
This message is sent in response to GetGlobalSettings, but also after the property inspector changes the settings.
Fields of DidReceiveGlobalSettings
payload: GlobalSettingsPayload<G>The current settings for the action.
The computer has resumed from sleep.
Added in Stream Deck software version 4.3.
An event from an unsupported version of the Stream Deck software.
This occurs when the Stream Deck software sends an event that is not understood. Usually this will be because the Stream Deck software is newer than the plugin, and it should be safe to ignore these.
Trait Implementations
impl<G: Debug, S: Debug, M: Debug> Debug for Message<G, S, M>[src]
impl<'de, G, S, M> Deserialize<'de> for Message<G, S, M> where
G: Deserialize<'de>,
S: Deserialize<'de>,
M: Deserialize<'de>, [src]
G: Deserialize<'de>,
S: Deserialize<'de>,
M: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<G, S, M> RefUnwindSafe for Message<G, S, M> where
G: RefUnwindSafe,
M: RefUnwindSafe,
S: RefUnwindSafe,
G: RefUnwindSafe,
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<G, S, M> Send for Message<G, S, M> where
G: Send,
M: Send,
S: Send,
G: Send,
M: Send,
S: Send,
impl<G, S, M> Sync for Message<G, S, M> where
G: Sync,
M: Sync,
S: Sync,
G: Sync,
M: Sync,
S: Sync,
impl<G, S, M> Unpin for Message<G, S, M> where
G: Unpin,
M: Unpin,
S: Unpin,
G: Unpin,
M: Unpin,
S: Unpin,
impl<G, S, M> UnwindSafe for Message<G, S, M> where
G: UnwindSafe,
M: UnwindSafe,
S: UnwindSafe,
G: UnwindSafe,
M: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<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]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,