pub struct AgentSpawn {
pub agent_id: String,
pub agent_slug: String,
pub prompt: String,
}Expand description
Agent spawn notification
Fields§
§agent_id: StringAgent ID
agent_slug: StringAgent slug (e.g., “rust-implementer”)
prompt: StringAgent prompt/task
Trait Implementations§
Source§impl Clone for AgentSpawn
impl Clone for AgentSpawn
Source§impl Debug for AgentSpawn
impl Debug for AgentSpawn
Source§impl<'de> Deserialize<'de> for AgentSpawn
impl<'de> Deserialize<'de> for AgentSpawn
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 AgentSpawn
impl RefUnwindSafe for AgentSpawn
impl Send for AgentSpawn
impl Sync for AgentSpawn
impl Unpin for AgentSpawn
impl UnsafeUnpin for AgentSpawn
impl UnwindSafe for AgentSpawn
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