pub struct AgentCodeFragments {
pub imports: Vec<&'static str>,
pub agent_construction: &'static str,
pub additional_files: Vec<FileFragment>,
}Expand description
Code fragments that define the agent’s structure in main.rs.
Fields§
§imports: Vec<&'static str>Import statements needed at the top of main.rs.
agent_construction: &'static strThe agent construction code (e.g., LlmAgent::builder()...).
additional_files: Vec<FileFragment>Additional files to generate beyond main.rs.
Trait Implementations§
Source§impl Clone for AgentCodeFragments
impl Clone for AgentCodeFragments
Source§fn clone(&self) -> AgentCodeFragments
fn clone(&self) -> AgentCodeFragments
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 moreAuto Trait Implementations§
impl Freeze for AgentCodeFragments
impl RefUnwindSafe for AgentCodeFragments
impl Send for AgentCodeFragments
impl Sync for AgentCodeFragments
impl Unpin for AgentCodeFragments
impl UnsafeUnpin for AgentCodeFragments
impl UnwindSafe for AgentCodeFragments
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