pub struct FleetTaskWorkerProfile {
pub agent_profile: Option<String>,
pub role: Option<String>,
pub loadout: Option<String>,
pub model_class: Option<String>,
pub model: Option<String>,
pub tool_profile: Option<String>,
pub tools: Vec<String>,
pub capabilities: Vec<String>,
}Expand description
Worker role and tool expectations for a task.
Fields§
§agent_profile: Option<String>Named agent profile/persona posture to layer onto this worker.
profile is accepted as a shorter authoring alias. This is an intent
reference only; profile loading and permission narrowing happen in the
Fleet runtime layer.
role: Option<String>§loadout: Option<String>Fleet loadout intent such as auto, fast, or review.
This is not a concrete provider/model selection; route resolution owns the executable provider/model/wire-model decision.
model_class: Option<String>Fleet model class hint such as strong, balanced, or fast.
model: Option<String>Optional explicit model id for this worker.
Task-level model overrides are visible authoring data and take precedence over the referenced agent profile’s model hint. Provider and wire-model validation still belong to route resolution.
tool_profile: Option<String>§tools: Vec<String>§capabilities: Vec<String>Trait Implementations§
Source§impl Clone for FleetTaskWorkerProfile
impl Clone for FleetTaskWorkerProfile
Source§fn clone(&self) -> FleetTaskWorkerProfile
fn clone(&self) -> FleetTaskWorkerProfile
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 FleetTaskWorkerProfile
impl Debug for FleetTaskWorkerProfile
Source§impl Default for FleetTaskWorkerProfile
impl Default for FleetTaskWorkerProfile
Source§fn default() -> FleetTaskWorkerProfile
fn default() -> FleetTaskWorkerProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetTaskWorkerProfile
impl<'de> Deserialize<'de> for FleetTaskWorkerProfile
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
impl Eq for FleetTaskWorkerProfile
Source§impl PartialEq for FleetTaskWorkerProfile
impl PartialEq for FleetTaskWorkerProfile
Source§fn eq(&self, other: &FleetTaskWorkerProfile) -> bool
fn eq(&self, other: &FleetTaskWorkerProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FleetTaskWorkerProfile
impl Serialize for FleetTaskWorkerProfile
impl StructuralPartialEq for FleetTaskWorkerProfile
Auto Trait Implementations§
impl Freeze for FleetTaskWorkerProfile
impl RefUnwindSafe for FleetTaskWorkerProfile
impl Send for FleetTaskWorkerProfile
impl Sync for FleetTaskWorkerProfile
impl Unpin for FleetTaskWorkerProfile
impl UnsafeUnpin for FleetTaskWorkerProfile
impl UnwindSafe for FleetTaskWorkerProfile
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