pub struct ComputerToolCall {
pub type: String,
pub id: String,
pub call_id: String,
pub action: ComputerAction,
pub pending_safety_checks: Vec<ComputerToolCallSafetyCheck>,
pub status: String,
}
Expand description
A tool call to a computer use tool.
Fields§
§type: String
The type of the computer call.
id: String
The unique ID of the computer call.
call_id: String
An identifier used when responding to the tool call with output.
action: ComputerAction
§pending_safety_checks: Vec<ComputerToolCallSafetyCheck>
The pending safety checks for the computer call.
status: String
The status of the item.
Trait Implementations§
Source§impl Clone for ComputerToolCall
impl Clone for ComputerToolCall
Source§fn clone(&self) -> ComputerToolCall
fn clone(&self) -> ComputerToolCall
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ComputerToolCall
impl RefUnwindSafe for ComputerToolCall
impl Send for ComputerToolCall
impl Sync for ComputerToolCall
impl Unpin for ComputerToolCall
impl UnwindSafe for ComputerToolCall
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