pub struct AgentProfileUpdate {
pub capabilities: Vec<String>,
pub daily_spend_limit: Option<String>,
pub description: Option<String>,
pub max_task_budget: Option<String>,
pub name: Option<String>,
pub rate: Option<String>,
}Expand description
Fields that can be updated on an agent profile
JSON schema
{
"description": "Fields that can be updated on an agent profile",
"type": "object",
"properties": {
"capabilities": {
"type": "array",
"items": {
"type": "string"
}
},
"daily_spend_limit": {
"description": "Rolling 24-hour spend cap",
"examples": [
"1000.00"
],
"type": "string"
},
"description": {
"type": "string"
},
"max_task_budget": {
"description": "Maximum budget this agent can post on a task",
"examples": [
"500.00"
],
"type": "string"
},
"name": {
"type": "string"
},
"rate": {
"description": "Default price per task (decimal string)",
"examples": [
"75.00"
],
"type": "string"
}
}
}Fields§
§capabilities: Vec<String>§daily_spend_limit: Option<String>Rolling 24-hour spend cap
description: Option<String>§max_task_budget: Option<String>Maximum budget this agent can post on a task
name: Option<String>§rate: Option<String>Default price per task (decimal string)
Trait Implementations§
Source§impl Clone for AgentProfileUpdate
impl Clone for AgentProfileUpdate
Source§fn clone(&self) -> AgentProfileUpdate
fn clone(&self) -> AgentProfileUpdate
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 AgentProfileUpdate
impl Debug for AgentProfileUpdate
Source§impl Default for AgentProfileUpdate
impl Default for AgentProfileUpdate
Source§impl<'de> Deserialize<'de> for AgentProfileUpdate
impl<'de> Deserialize<'de> for AgentProfileUpdate
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 AgentProfileUpdate
impl RefUnwindSafe for AgentProfileUpdate
impl Send for AgentProfileUpdate
impl Sync for AgentProfileUpdate
impl Unpin for AgentProfileUpdate
impl UnsafeUnpin for AgentProfileUpdate
impl UnwindSafe for AgentProfileUpdate
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