[−][src]Struct streamdeck_rs::KeyPayload
Additional information about the key pressed.
Fields
settings: S
The stored settings for the action instance.
coordinates: Option<Coordinates>
The location of the key that was pressed, or None if this action instance is part of a multi action.
state: u8
The current state of the action instance.
user_desired_state: Option<u8>
The desired state of the action instance (if this instance is part of a multi action).
Trait Implementations
impl<S: Debug> Debug for KeyPayload<S>
[src]
impl<S: Debug> Debug for KeyPayload<S>
impl<'de, S> Deserialize<'de> for KeyPayload<S> where
S: Deserialize<'de>,
[src]
impl<'de, S> Deserialize<'de> for KeyPayload<S> where
S: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where | [src] |
Auto Trait Implementations
impl<S> Send for KeyPayload<S> where
S: Send,
impl<S> Send for KeyPayload<S> where
S: Send,
impl<S> Sync for KeyPayload<S> where
S: Sync,
impl<S> Sync for KeyPayload<S> where
S: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Erased for T
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self