pub struct KeyPressAction {
pub keys: Vec<String>,
}Expand description
A keypress action.
Fields§
§keys: Vec<String>The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.
Trait Implementations§
Source§impl Clone for KeyPressAction
impl Clone for KeyPressAction
Source§fn clone(&self) -> KeyPressAction
fn clone(&self) -> KeyPressAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyPressAction
impl Debug for KeyPressAction
Source§impl<'de> Deserialize<'de> for KeyPressAction
impl<'de> Deserialize<'de> for KeyPressAction
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
Source§impl PartialEq for KeyPressAction
impl PartialEq for KeyPressAction
Source§impl Serialize for KeyPressAction
impl Serialize for KeyPressAction
impl StructuralPartialEq for KeyPressAction
Auto Trait Implementations§
impl Freeze for KeyPressAction
impl RefUnwindSafe for KeyPressAction
impl Send for KeyPressAction
impl Sync for KeyPressAction
impl Unpin for KeyPressAction
impl UnwindSafe for KeyPressAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more