pub struct StopHookInput {
pub session_id: String,
pub transcript_path: String,
pub cwd: String,
pub hook_event_name: String,
}Expand description
Hook input for Stop events (conversation turn ended without a tool call).
Fields§
§session_id: String§transcript_path: String§cwd: String§hook_event_name: StringImplementations§
Source§impl StopHookInput
impl StopHookInput
Sourcepub fn from_reader(reader: impl Read) -> Result<Self>
pub fn from_reader(reader: impl Read) -> Result<Self>
Parse from any reader (for testability).
Trait Implementations§
Source§impl Clone for StopHookInput
impl Clone for StopHookInput
Source§fn clone(&self) -> StopHookInput
fn clone(&self) -> StopHookInput
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 StopHookInput
impl Debug for StopHookInput
Source§impl Default for StopHookInput
impl Default for StopHookInput
Source§fn default() -> StopHookInput
fn default() -> StopHookInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StopHookInput
impl<'de> Deserialize<'de> for StopHookInput
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 StopHookInput
impl RefUnwindSafe for StopHookInput
impl Send for StopHookInput
impl Sync for StopHookInput
impl Unpin for StopHookInput
impl UnsafeUnpin for StopHookInput
impl UnwindSafe for StopHookInput
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