pub struct TeamWorkerPermissions {
pub tools: Vec<String>,
pub can_read_other_results: bool,
pub can_delegate: bool,
pub can_abort: bool,
pub max_tokens: Option<i64>,
pub max_steps_per_subtask: Option<i64>,
}Expand description
What a worker may do inside a team run.
Fields§
§tools: Vec<String>Tool names this worker may invoke. Defaults to the agent’s own allowed_tools.
can_read_other_results: bool§can_delegate: bool§can_abort: bool§max_tokens: Option<i64>§max_steps_per_subtask: Option<i64>Trait Implementations§
Source§impl Clone for TeamWorkerPermissions
impl Clone for TeamWorkerPermissions
Source§fn clone(&self) -> TeamWorkerPermissions
fn clone(&self) -> TeamWorkerPermissions
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 TeamWorkerPermissions
impl Debug for TeamWorkerPermissions
Source§impl Default for TeamWorkerPermissions
impl Default for TeamWorkerPermissions
Source§fn default() -> TeamWorkerPermissions
fn default() -> TeamWorkerPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TeamWorkerPermissions
impl<'de> Deserialize<'de> for TeamWorkerPermissions
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
Source§impl PartialEq for TeamWorkerPermissions
impl PartialEq for TeamWorkerPermissions
Source§impl Serialize for TeamWorkerPermissions
impl Serialize for TeamWorkerPermissions
impl StructuralPartialEq for TeamWorkerPermissions
Auto Trait Implementations§
impl Freeze for TeamWorkerPermissions
impl RefUnwindSafe for TeamWorkerPermissions
impl Send for TeamWorkerPermissions
impl Sync for TeamWorkerPermissions
impl Unpin for TeamWorkerPermissions
impl UnsafeUnpin for TeamWorkerPermissions
impl UnwindSafe for TeamWorkerPermissions
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