pub struct HookResultAttachment {
pub hook_name: Option<String>,
pub tool_use_id: Option<String>,
pub hook_event: Option<String>,
pub content: Option<String>,
pub stdout: Option<String>,
pub stderr: Option<String>,
pub exit_code: Option<i32>,
pub command: Option<String>,
pub duration_ms: Option<u64>,
pub blocking_error: Option<Value>,
}Fields§
§hook_name: Option<String>§tool_use_id: Option<String>§hook_event: Option<String>§content: Option<String>§stdout: Option<String>§stderr: Option<String>§exit_code: Option<i32>§command: Option<String>§duration_ms: Option<u64>§blocking_error: Option<Value>Trait Implementations§
Source§impl Clone for HookResultAttachment
impl Clone for HookResultAttachment
Source§fn clone(&self) -> HookResultAttachment
fn clone(&self) -> HookResultAttachment
Returns a duplicate of the value. Read more
1.0.0 · 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 HookResultAttachment
impl Debug for HookResultAttachment
Source§impl<'de> Deserialize<'de> for HookResultAttachment
impl<'de> Deserialize<'de> for HookResultAttachment
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 HookResultAttachment
impl RefUnwindSafe for HookResultAttachment
impl Send for HookResultAttachment
impl Sync for HookResultAttachment
impl Unpin for HookResultAttachment
impl UnsafeUnpin for HookResultAttachment
impl UnwindSafe for HookResultAttachment
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