pub struct AgentMetadata {
pub agent_id: String,
pub execution_time_ms: u64,
pub tokens_used: usize,
}Expand description
Metadata about agent execution
This struct contains metadata about a single agent execution, including execution time and resource usage.
Fields§
§agent_id: StringAgent identifier
execution_time_ms: u64Execution time in milliseconds
tokens_used: usizeTokens used (if applicable)
Trait Implementations§
Source§impl Clone for AgentMetadata
impl Clone for AgentMetadata
Source§fn clone(&self) -> AgentMetadata
fn clone(&self) -> AgentMetadata
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 AgentMetadata
impl Debug for AgentMetadata
Source§impl Default for AgentMetadata
impl Default for AgentMetadata
Source§fn default() -> AgentMetadata
fn default() -> AgentMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentMetadata
impl<'de> Deserialize<'de> for AgentMetadata
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 AgentMetadata
impl RefUnwindSafe for AgentMetadata
impl Send for AgentMetadata
impl Sync for AgentMetadata
impl Unpin for AgentMetadata
impl UnwindSafe for AgentMetadata
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