pub struct AgentSummary {
pub file_stem: String,
pub name: String,
pub description: Option<String>,
pub tools: Vec<String>,
pub model: Option<String>,
pub file_path: PathBuf,
pub size_bytes: u64,
}Expand description
Lightweight metadata for one agent, returned by
AgentsRoot::list. Strips the body to keep listings cheap.
Fields§
§file_stem: StringFilename stem (<stem>.md). The canonical handle for lookup.
name: StringFrontmatter name if present; falls back to file_stem.
description: Option<String>Frontmatter description if present.
tools: Vec<String>Frontmatter tools parsed as a comma-separated list.
model: Option<String>Frontmatter model if present.
file_path: PathBufAbsolute path to the source file.
size_bytes: u64File size in bytes; useful for cheap UI hints.
Trait Implementations§
Source§impl Clone for AgentSummary
impl Clone for AgentSummary
Source§fn clone(&self) -> AgentSummary
fn clone(&self) -> AgentSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentSummary
impl Debug for AgentSummary
Auto Trait Implementations§
impl Freeze for AgentSummary
impl RefUnwindSafe for AgentSummary
impl Send for AgentSummary
impl Sync for AgentSummary
impl Unpin for AgentSummary
impl UnsafeUnpin for AgentSummary
impl UnwindSafe for AgentSummary
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