pub struct CommandResponse {
pub response: Response,
pub executed: Option<String>,
pub is_open: bool,
pub changed: bool,
}Expand description
Response from command
Fields§
§response: ResponseThe UI response
executed: Option<String>ID of executed command, if any
is_open: boolWhether the command palette is currently open
changed: boolWhether the open state changed this frame (opened or closed)
Auto Trait Implementations§
impl Freeze for CommandResponse
impl !RefUnwindSafe for CommandResponse
impl Send for CommandResponse
impl Sync for CommandResponse
impl Unpin for CommandResponse
impl UnsafeUnpin for CommandResponse
impl !UnwindSafe for CommandResponse
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