pub struct AgentRecord {
pub agent_id: String,
pub name: String,
pub description: String,
pub system_prompt: Option<String>,
pub provider: String,
pub model: String,
pub keywords: Vec<String>,
pub allowed_tools: Vec<String>,
pub channels: HashMap<String, AgentChannelConfig>,
pub created_at: u64,
pub updated_at: u64,
pub status: AgentStatus,
}Expand description
Persistent record for a dynamically-created agent.
Fields§
§agent_id: String§name: String§description: String§system_prompt: Option<String>§provider: String§model: String§keywords: Vec<String>§allowed_tools: Vec<String>§channels: HashMap<String, AgentChannelConfig>§created_at: u64§updated_at: u64§status: AgentStatusTrait Implementations§
Source§impl Clone for AgentRecord
impl Clone for AgentRecord
Source§fn clone(&self) -> AgentRecord
fn clone(&self) -> AgentRecord
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 AgentRecord
impl Debug for AgentRecord
Source§impl<'de> Deserialize<'de> for AgentRecord
impl<'de> Deserialize<'de> for AgentRecord
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 AgentRecord
impl RefUnwindSafe for AgentRecord
impl Send for AgentRecord
impl Sync for AgentRecord
impl Unpin for AgentRecord
impl UnsafeUnpin for AgentRecord
impl UnwindSafe for AgentRecord
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