pub struct PreparedToolCall {
pub name: String,
pub input: Value,
pub description: String,
pub read_only: bool,
pub supports_parallel: bool,
pub starts_detached: bool,
pub approval: ApprovalRequirement,
pub resources: Vec<ResourceClaim>,
}Expand description
A side-effect-free, input-specific tool decision prepared for authority checks and scheduling.
Fields§
§name: String§input: Value§description: String§read_only: bool§supports_parallel: bool§starts_detached: bool§approval: ApprovalRequirement§resources: Vec<ResourceClaim>Trait Implementations§
Source§impl Clone for PreparedToolCall
impl Clone for PreparedToolCall
Source§fn clone(&self) -> PreparedToolCall
fn clone(&self) -> PreparedToolCall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreparedToolCall
impl Debug for PreparedToolCall
Source§impl PartialEq for PreparedToolCall
impl PartialEq for PreparedToolCall
impl StructuralPartialEq for PreparedToolCall
Auto Trait Implementations§
impl Freeze for PreparedToolCall
impl RefUnwindSafe for PreparedToolCall
impl Send for PreparedToolCall
impl Sync for PreparedToolCall
impl Unpin for PreparedToolCall
impl UnsafeUnpin for PreparedToolCall
impl UnwindSafe for PreparedToolCall
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