pub struct ListSessionsTool {
pub project_path: PathBuf,
}Fields§
§project_path: PathBufTrait Implementations§
Source§impl Tool for ListSessionsTool
impl Tool for ListSessionsTool
fn schema(&self) -> ToolSchema
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_args: &'life1 Value,
_c: &'life2 Atomic<bool>,
) -> Pin<Box<dyn Future<Output = Result<String, AacodeError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
ListSessionsTool: 'async_trait,
fn name(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for ListSessionsTool
impl RefUnwindSafe for ListSessionsTool
impl Send for ListSessionsTool
impl Sync for ListSessionsTool
impl Unpin for ListSessionsTool
impl UnsafeUnpin for ListSessionsTool
impl UnwindSafe for ListSessionsTool
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