pub struct SubagentStartInput {
pub base: BaseHookInput,
pub agent_id: String,
pub agent_type: String,
}Expand description
Input payload for SubagentStart.
Fields§
§base: BaseHookInputShared hook context.
agent_id: StringSub-agent identifier for this spawn.
agent_type: StringAgent type (e.g. "general-purpose").
Trait Implementations§
Source§impl Clone for SubagentStartInput
impl Clone for SubagentStartInput
Source§fn clone(&self) -> SubagentStartInput
fn clone(&self) -> SubagentStartInput
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 SubagentStartInput
impl Debug for SubagentStartInput
Source§impl<'de> Deserialize<'de> for SubagentStartInput
impl<'de> Deserialize<'de> for SubagentStartInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubagentStartInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubagentStartInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SubagentStartInput
impl Serialize for SubagentStartInput
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 SubagentStartInput
impl RefUnwindSafe for SubagentStartInput
impl Send for SubagentStartInput
impl Sync for SubagentStartInput
impl Unpin for SubagentStartInput
impl UnsafeUnpin for SubagentStartInput
impl UnwindSafe for SubagentStartInput
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