pub struct ActionKeypress {
pub keys: Vec<String>,
pub type_: String,
}Expand description
A collection of keypresses the model would like to perform.
Fields§
§keys: Vec<String>The combination of keys the model is requesting to be pressed.
type_: StringSpecifies the event type.
Trait Implementations§
Source§impl Clone for ActionKeypress
impl Clone for ActionKeypress
Source§fn clone(&self) -> ActionKeypress
fn clone(&self) -> ActionKeypress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionKeypress
impl Debug for ActionKeypress
Source§impl<'de> Deserialize<'de> for ActionKeypress
impl<'de> Deserialize<'de> for ActionKeypress
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
Auto Trait Implementations§
impl Freeze for ActionKeypress
impl RefUnwindSafe for ActionKeypress
impl Send for ActionKeypress
impl Sync for ActionKeypress
impl Unpin for ActionKeypress
impl UnsafeUnpin for ActionKeypress
impl UnwindSafe for ActionKeypress
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