pub struct AgentDecl {
pub name: String,
pub fields: Vec<AgentField>,
pub tools: Vec<String>,
pub output: Option<OutputType>,
pub span: Span,
}Expand description
An agent declaration: agent Name { fields... }
Fields§
§name: String§fields: Vec<AgentField>§tools: Vec<String>§output: Option<OutputType>§span: SpanTrait Implementations§
impl StructuralPartialEq for AgentDecl
Auto Trait Implementations§
impl Freeze for AgentDecl
impl RefUnwindSafe for AgentDecl
impl Send for AgentDecl
impl Sync for AgentDecl
impl Unpin for AgentDecl
impl UnwindSafe for AgentDecl
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