pub struct SpawnAgentRequest {
pub auth: UiAutomationAuth,
pub name: Option<String>,
pub model: Option<String>,
pub effort: Option<String>,
pub account: Option<String>,
pub brief: String,
pub container: ContainerAsk,
pub route: RouteAsk,
pub user_instruction: String,
}Fields§
§auth: UiAutomationAuth§name: Option<String>The worker’s name; absent, the first free “
model: Option<String>The worker’s model and effort; absent, the leader’s.
effort: Option<String>§account: Option<String>The account to run the worker on, by id or name/email; absent, the leader’s, or another signed-in one when the leader’s can’t run.
brief: StringThe worker’s task, its first message. srv shows its start to the user when it asks; the MCP server sends it, signed as the leader.
container: ContainerAskWhere it runs, when not as its leader does.
route: RouteAsk§user_instruction: StringThe user’s own words in this turn asking for it, verbatim; empty when
the user didn’t ask. Checked like QuitSelf’s (self_quit::gate).
Trait Implementations§
Source§impl Clone for SpawnAgentRequest
impl Clone for SpawnAgentRequest
Source§fn clone(&self) -> SpawnAgentRequest
fn clone(&self) -> SpawnAgentRequest
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 SpawnAgentRequest
impl Debug for SpawnAgentRequest
Source§impl<'de> Deserialize<'de> for SpawnAgentRequest
impl<'de> Deserialize<'de> for SpawnAgentRequest
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 SpawnAgentRequest
impl RefUnwindSafe for SpawnAgentRequest
impl Send for SpawnAgentRequest
impl Sync for SpawnAgentRequest
impl Unpin for SpawnAgentRequest
impl UnsafeUnpin for SpawnAgentRequest
impl UnwindSafe for SpawnAgentRequest
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