pub struct AgentDetail {
pub name: CompactString,
pub description: CompactString,
pub tools: Vec<CompactString>,
pub skill_tags: Vec<CompactString>,
pub system_prompt: String,
}Expand description
Detailed agent information.
Fields§
§name: CompactStringAgent name.
description: CompactStringAgent description.
tools: Vec<CompactString>Registered tool names.
Skill tags.
system_prompt: StringSystem prompt.
Trait Implementations§
Source§impl Clone for AgentDetail
impl Clone for AgentDetail
Source§fn clone(&self) -> AgentDetail
fn clone(&self) -> AgentDetail
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 AgentDetail
impl Debug for AgentDetail
Source§impl<'de> Deserialize<'de> for AgentDetail
impl<'de> Deserialize<'de> for AgentDetail
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
Source§impl From<AgentDetail> for ServerMessage
impl From<AgentDetail> for ServerMessage
Source§fn from(r: AgentDetail) -> Self
fn from(r: AgentDetail) -> Self
Converts to this type from the input type.
Source§impl Serialize for AgentDetail
impl Serialize for AgentDetail
Source§impl TryFrom<ServerMessage> for AgentDetail
impl TryFrom<ServerMessage> for AgentDetail
Auto Trait Implementations§
impl Freeze for AgentDetail
impl RefUnwindSafe for AgentDetail
impl Send for AgentDetail
impl Sync for AgentDetail
impl Unpin for AgentDetail
impl UnsafeUnpin for AgentDetail
impl UnwindSafe for AgentDetail
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