pub enum ToolPreparation {
Direct {
permission_requests: Vec<PermissionRequest>,
irreversible: bool,
},
Prepared(PreparedToolCall),
}Variants§
Direct
Prepared(PreparedToolCall)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ToolPreparation
impl !Sync for ToolPreparation
impl !UnwindSafe for ToolPreparation
impl Freeze for ToolPreparation
impl Send for ToolPreparation
impl Unpin for ToolPreparation
impl UnsafeUnpin for ToolPreparation
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