pub struct TeamAgentConfig {
pub members: Vec<TeamMember>,
pub coordination: CoordinationMode,
pub leader_id: Option<String>,
pub dispatch_strategy: DispatchStrategy,
}Expand description
Team Agent 配置
Fields§
§members: Vec<TeamMember>团队成员
coordination: CoordinationMode协调模式
leader_id: Option<String>领导者 Agent ID (用于 Hierarchical 模式)
dispatch_strategy: DispatchStrategy任务分发策略
Implementations§
Trait Implementations§
Source§impl Clone for TeamAgentConfig
impl Clone for TeamAgentConfig
Source§fn clone(&self) -> TeamAgentConfig
fn clone(&self) -> TeamAgentConfig
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 TeamAgentConfig
impl Debug for TeamAgentConfig
Source§impl Default for TeamAgentConfig
impl Default for TeamAgentConfig
Source§fn default() -> TeamAgentConfig
fn default() -> TeamAgentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TeamAgentConfig
impl<'de> Deserialize<'de> for TeamAgentConfig
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 TeamAgentConfig
impl RefUnwindSafe for TeamAgentConfig
impl Send for TeamAgentConfig
impl Sync for TeamAgentConfig
impl Unpin for TeamAgentConfig
impl UnsafeUnpin for TeamAgentConfig
impl UnwindSafe for TeamAgentConfig
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