pub struct AgentDetails {
pub id: String,
pub name: String,
pub description: Option<String>,
pub system_prompt: Option<String>,
pub model: Option<String>,
pub tools: Option<Vec<Value>>,
pub config: Option<AgentConfig>,
pub created_at: Option<u64>,
pub updated_at: Option<u64>,
}Expand description
Detailed agent information
Fields§
§id: StringAgent ID
name: StringAgent name
description: Option<String>Agent description
system_prompt: Option<String>System prompt
model: Option<String>Model used
tools: Option<Vec<Value>>Available tools
config: Option<AgentConfig>Agent configuration
created_at: Option<u64>Creation timestamp
updated_at: Option<u64>Last update timestamp
Trait Implementations§
Source§impl Clone for AgentDetails
impl Clone for AgentDetails
Source§fn clone(&self) -> AgentDetails
fn clone(&self) -> AgentDetails
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 AgentDetails
impl Debug for AgentDetails
Source§impl<'de> Deserialize<'de> for AgentDetails
impl<'de> Deserialize<'de> for AgentDetails
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 AgentDetails
impl RefUnwindSafe for AgentDetails
impl Send for AgentDetails
impl Sync for AgentDetails
impl Unpin for AgentDetails
impl UnsafeUnpin for AgentDetails
impl UnwindSafe for AgentDetails
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