pub struct SubagentStartContext {
pub agent_name: String,
pub initial_message: Option<String>,
}Expand description
Context passed to subagent start hooks.
Fields§
§agent_name: StringSubagent name.
initial_message: Option<String>Initial message.
Trait Implementations§
Source§impl Clone for SubagentStartContext
impl Clone for SubagentStartContext
Source§fn clone(&self) -> SubagentStartContext
fn clone(&self) -> SubagentStartContext
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 moreAuto Trait Implementations§
impl Freeze for SubagentStartContext
impl RefUnwindSafe for SubagentStartContext
impl Send for SubagentStartContext
impl Sync for SubagentStartContext
impl Unpin for SubagentStartContext
impl UnsafeUnpin for SubagentStartContext
impl UnwindSafe for SubagentStartContext
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