pub struct Agent { /* private fields */ }Implementations§
Source§impl Agent
impl Agent
pub fn current_model_display_name(&self) -> String
Sourcepub fn token_tracker(&self) -> &TokenTracker
pub fn token_tracker(&self) -> &TokenTracker
Get a reference to the token tracker
pub async fn run(self)
Auto Trait Implementations§
impl Freeze for Agent
impl !RefUnwindSafe for Agent
impl Send for Agent
impl !Sync for Agent
impl Unpin for Agent
impl UnsafeUnpin for Agent
impl !UnwindSafe for Agent
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