Struct umm::vscode::KeyBindings
source · pub struct KeyBindings {
key: String,
command: Option<String>,
args: String,
when: Option<String>,
}
Expand description
A struct to represent a keybinding for tasks in VSCode.
Fields§
§key: String
The keybinding
command: Option<String>
The command to execute, defaults to workbench.action.tasks.runTask
args: String
The command’s arguments - name of task, etc.
when: Option<String>
when to activate keybinding
Implementations§
source§impl KeyBindings
impl KeyBindings
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyBindings
impl<'de> Deserialize<'de> for KeyBindings
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 RefUnwindSafe for KeyBindings
impl Send for KeyBindings
impl Sync for KeyBindings
impl Unpin for KeyBindings
impl UnwindSafe for KeyBindings
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