pub struct CronCreateTool;Expand description
CronCreate tool - create a scheduled task
Implementations§
Source§impl CronCreateTool
impl CronCreateTool
pub fn new() -> Self
pub fn input_schema(&self) -> ToolInputSchema
pub async fn execute( &self, input: Value, _context: &ToolContext, ) -> Result<ToolResult, AgentError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CronCreateTool
impl RefUnwindSafe for CronCreateTool
impl Send for CronCreateTool
impl Sync for CronCreateTool
impl Unpin for CronCreateTool
impl UnsafeUnpin for CronCreateTool
impl UnwindSafe for CronCreateTool
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