pub struct AgentUpdate {
pub name: Option<String>,
pub description: Option<String>,
pub system_prompt: Option<String>,
pub provider: Option<String>,
pub model: Option<String>,
pub keywords: Option<Vec<String>>,
pub allowed_tools: Option<Vec<String>>,
pub channels: Option<HashMap<String, AgentChannelConfig>>,
}Expand description
Fields that can be updated on an existing agent.
Fields§
§name: Option<String>§description: Option<String>§system_prompt: Option<String>§provider: Option<String>§model: Option<String>§keywords: Option<Vec<String>>§allowed_tools: Option<Vec<String>>§channels: Option<HashMap<String, AgentChannelConfig>>Trait Implementations§
Source§impl Clone for AgentUpdate
impl Clone for AgentUpdate
Source§fn clone(&self) -> AgentUpdate
fn clone(&self) -> AgentUpdate
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 AgentUpdate
impl Debug for AgentUpdate
Source§impl Default for AgentUpdate
impl Default for AgentUpdate
Source§fn default() -> AgentUpdate
fn default() -> AgentUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentUpdate
impl<'de> Deserialize<'de> for AgentUpdate
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 AgentUpdate
impl RefUnwindSafe for AgentUpdate
impl Send for AgentUpdate
impl Sync for AgentUpdate
impl Unpin for AgentUpdate
impl UnsafeUnpin for AgentUpdate
impl UnwindSafe for AgentUpdate
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