[−][src]Enum streamdeck_rs::MessageOut
A message to be sent to the Stream Deck software.
G
represents the global settings that are persisted within the Stream Deck software.S
represents the action settings that are persisted within the Stream Deck software.M
represents the messages that are sent to the property inspector.
Variants
Set the title of an action instance.
Fields of SetTitle
context: String
The instance of the action (key or part of a multiaction).
payload: TitlePayload
The title to set.
Set the image of an action instance.
Fields of SetImage
context: String
The instance of the action (key or part of a multiaction).
payload: ImagePayload
The image to set.
Temporarily overlay the key image with an alert icon.
Fields of ShowAlert
context: String
The instance of the action (key or part of a multiaction).
Temporarily overlay the key image with a checkmark.
Fields of ShowOk
context: String
The instance of the action (key or part of a multiaction).
Retrieve settings for an instance of an action via DidReceiveSettings.
Fields of GetSettings
context: String
The instance of the action (key or part of a multiaction).
Store settings for an instance of an action.
Fields of SetSettings
context: String
The instance of the action (key or part of a multiaction).
payload: S
The settings to save.
Set the state of an action.
Normally, Stream Deck changes the state of an action automatically when the key is pressed.
Fields of SetState
context: String
The instance of the action (key or part of a multiaction).
payload: StatePayload
The desired state.
Send data to the property inspector.
Fields of SendToPropertyInspector
Select a new profile.
Fields of SwitchToProfile
context: String
The instance of the action (key or part of a multiaction).
device: String
The device to change the profile of.
payload: ProfilePayload
The profile to activate.
Open a URL in the default browser.
Fields of OpenUrl
payload: UrlPayload
The url to open.
Retrieve plugin settings for via DidReceiveGlobalSettings.
Fields of GetGlobalSettings
context: String
The instance of the action (key or part of a multiaction).
Store plugin settings.
Fields of SetGlobalSettings
context: String
The instance of the action (key or part of a multiaction).
payload: G
The settings to save.
Write to the log.
Fields of LogMessage
payload: LogMessagePayload
The message to log.
Trait Implementations
impl<G: Debug, S: Debug, M: Debug> Debug for MessageOut<G, S, M>
[src]
impl<G, S, M> Serialize for MessageOut<G, S, M> where
G: Serialize,
S: Serialize,
M: Serialize,
[src]
G: Serialize,
S: Serialize,
M: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<G, S, MI, MO> Sink<MessageOut<G, S, MO>> for StreamDeckSocket<G, S, MI, MO> where
G: Serialize,
S: Serialize,
MO: Serialize,
[src]
G: Serialize,
S: Serialize,
MO: Serialize,
type Error = StreamDeckSocketError
The type of value produced by the sink when an error occurs.
fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
fn start_send(
self: Pin<&mut Self>,
item: MessageOut<G, S, MO>
) -> Result<(), Self::Error>
[src]
self: Pin<&mut Self>,
item: MessageOut<G, S, MO>
) -> Result<(), Self::Error>
fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
fn poll_close(
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
Auto Trait Implementations
impl<G, S, M> RefUnwindSafe for MessageOut<G, S, M> where
G: RefUnwindSafe,
M: RefUnwindSafe,
S: RefUnwindSafe,
G: RefUnwindSafe,
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<G, S, M> Send for MessageOut<G, S, M> where
G: Send,
M: Send,
S: Send,
G: Send,
M: Send,
S: Send,
impl<G, S, M> Sync for MessageOut<G, S, M> where
G: Sync,
M: Sync,
S: Sync,
G: Sync,
M: Sync,
S: Sync,
impl<G, S, M> Unpin for MessageOut<G, S, M> where
G: Unpin,
M: Unpin,
S: Unpin,
G: Unpin,
M: Unpin,
S: Unpin,
impl<G, S, M> UnwindSafe for MessageOut<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> 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>,