pub struct SubagentStopInput {
pub base: BaseHookInput,
pub stop_hook_active: bool,
pub agent_id: String,
pub agent_transcript_path: String,
pub agent_type: String,
}Expand description
Input payload for SubagentStop.
Fields§
§base: BaseHookInputShared hook context.
stop_hook_active: boolRe-entrancy indicator (see StopInput::stop_hook_active).
agent_id: StringSub-agent identifier.
agent_transcript_path: StringFilesystem path of the sub-agent’s transcript JSONL file.
agent_type: StringAgent type (e.g. "general-purpose").
Trait Implementations§
Source§impl Clone for SubagentStopInput
impl Clone for SubagentStopInput
Source§fn clone(&self) -> SubagentStopInput
fn clone(&self) -> SubagentStopInput
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 SubagentStopInput
impl Debug for SubagentStopInput
Source§impl<'de> Deserialize<'de> for SubagentStopInput
impl<'de> Deserialize<'de> for SubagentStopInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubagentStopInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubagentStopInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SubagentStopInput
impl Serialize for SubagentStopInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SubagentStopInput
impl RefUnwindSafe for SubagentStopInput
impl Send for SubagentStopInput
impl Sync for SubagentStopInput
impl Unpin for SubagentStopInput
impl UnsafeUnpin for SubagentStopInput
impl UnwindSafe for SubagentStopInput
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