pub struct AgentWorker {
pub name: String,
pub model: Option<String>,
pub tier: Option<String>,
pub description: Option<String>,
}Expand description
Describes a worker agent in a multi-agent run.
Fields§
§name: StringWorker name.
model: Option<String>Model ID for this worker.
tier: Option<String>Worker tier (e.g. “fast”, “thinking”).
description: Option<String>Description of this worker’s role.
Trait Implementations§
Source§impl Clone for AgentWorker
impl Clone for AgentWorker
Source§fn clone(&self) -> AgentWorker
fn clone(&self) -> AgentWorker
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 moreSource§impl Debug for AgentWorker
impl Debug for AgentWorker
Source§impl Default for AgentWorker
impl Default for AgentWorker
Source§fn default() -> AgentWorker
fn default() -> AgentWorker
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentWorker
impl<'de> Deserialize<'de> for AgentWorker
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 AgentWorker
impl RefUnwindSafe for AgentWorker
impl Send for AgentWorker
impl Sync for AgentWorker
impl Unpin for AgentWorker
impl UnsafeUnpin for AgentWorker
impl UnwindSafe for AgentWorker
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