pub struct AsyncHookResponse {
pub process_id: String,
pub response: SyncHookJsonOutput,
pub hook_name: String,
pub hook_event: HookEvent,
pub tool_name: Option<String>,
pub plugin_id: Option<String>,
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i32>,
}Expand description
Response from check_for_async_hook_responses
Fields§
§process_id: String§response: SyncHookJsonOutput§hook_name: String§hook_event: HookEvent§tool_name: Option<String>§plugin_id: Option<String>§stdout: String§stderr: String§exit_code: Option<i32>Auto Trait Implementations§
impl Freeze for AsyncHookResponse
impl RefUnwindSafe for AsyncHookResponse
impl Send for AsyncHookResponse
impl Sync for AsyncHookResponse
impl Unpin for AsyncHookResponse
impl UnsafeUnpin for AsyncHookResponse
impl UnwindSafe for AsyncHookResponse
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