pub struct UiResetShortcutsRequest {
pub auth: UiAutomationAuth,
pub command: Option<String>,
pub all: bool,
}Expand description
POST /api/v1/ui/shortcuts/reset — puts one command, or every command, back on its defaults.
Fields§
§auth: UiAutomationAuth§command: Option<String>A command id from ListShortcuts.
all: boolEvery command, instead of one.
Trait Implementations§
Source§impl Clone for UiResetShortcutsRequest
impl Clone for UiResetShortcutsRequest
Source§fn clone(&self) -> UiResetShortcutsRequest
fn clone(&self) -> UiResetShortcutsRequest
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 UiResetShortcutsRequest
impl Debug for UiResetShortcutsRequest
Source§impl<'de> Deserialize<'de> for UiResetShortcutsRequest
impl<'de> Deserialize<'de> for UiResetShortcutsRequest
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 UiResetShortcutsRequest
impl RefUnwindSafe for UiResetShortcutsRequest
impl Send for UiResetShortcutsRequest
impl Sync for UiResetShortcutsRequest
impl Unpin for UiResetShortcutsRequest
impl UnsafeUnpin for UiResetShortcutsRequest
impl UnwindSafe for UiResetShortcutsRequest
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