pub struct Keypress {
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<'de> Deserialize<'de> for Keypress
impl<'de> Deserialize<'de> for Keypress
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 Keypress
impl RefUnwindSafe for Keypress
impl Send for Keypress
impl Sync for Keypress
impl Unpin for Keypress
impl UnsafeUnpin for Keypress
impl UnwindSafe for Keypress
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