pub struct CoreToolkit { /* private fields */ }Implementations§
Source§impl CoreToolkit
impl CoreToolkit
pub fn tools(&self) -> &DocPresetGetToolsResult
pub fn system_prompt(&self) -> &DocPresetGetSystemPromptResult
pub fn prompt(&self) -> &str
pub fn policy(&self) -> &DocPresetGetToolsParams
pub fn capabilities_snapshot(&self) -> Option<&DocCapabilitiesGetResult>
pub async fn dispatch( &self, params: &DocPresetDispatchBoundParams, ) -> Result<DocPresetDispatchResult>
pub async fn dispatch_with_options( &self, params: &DocPresetDispatchBoundParams, options: InvokeOptions, ) -> Result<DocPresetDispatchResult>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreToolkit
impl RefUnwindSafe for CoreToolkit
impl Send for CoreToolkit
impl Sync for CoreToolkit
impl Unpin for CoreToolkit
impl UnsafeUnpin for CoreToolkit
impl UnwindSafe for CoreToolkit
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