pub struct AgentMetadataInfo {
pub id: String,
pub name: String,
pub description: String,
pub supported_task_types: Vec<TaskType>,
}Expand description
Metadata about a registered agent
This struct contains metadata about an agent, including its ID, name, description, and the task types it supports.
Fields§
§id: StringAgent identifier
name: StringAgent name
description: StringAgent description
supported_task_types: Vec<TaskType>Supported task types
Trait Implementations§
Source§impl Clone for AgentMetadataInfo
impl Clone for AgentMetadataInfo
Source§fn clone(&self) -> AgentMetadataInfo
fn clone(&self) -> AgentMetadataInfo
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 AgentMetadataInfo
impl Debug for AgentMetadataInfo
Source§impl<'de> Deserialize<'de> for AgentMetadataInfo
impl<'de> Deserialize<'de> for AgentMetadataInfo
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 AgentMetadataInfo
impl RefUnwindSafe for AgentMetadataInfo
impl Send for AgentMetadataInfo
impl Sync for AgentMetadataInfo
impl Unpin for AgentMetadataInfo
impl UnwindSafe for AgentMetadataInfo
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