pub struct ResponseComputerToolCall {
pub id: String,
pub call_id: String,
pub pending_safety_checks: Vec<PendingSafetyCheck>,
pub status: ResponseComputerToolCallStatus,
pub type_: String,
pub action: Option<FunctionShellAction>,
pub actions: Option<ComputerActionList>,
}Expand description
A tool call to a computer use tool.
Fields§
§id: StringThe unique ID of the computer call.
call_id: StringAn identifier used when responding to the tool call with output.
pending_safety_checks: Vec<PendingSafetyCheck>The pending safety checks for the computer call.
status: ResponseComputerToolCallStatusThe status of the item.
type_: StringThe type of the computer call. Always computer_call.
action: Option<FunctionShellAction>A click action.
actions: Option<ComputerActionList>Flattened batched actions for computer_use.
Trait Implementations§
Source§impl Clone for ResponseComputerToolCall
impl Clone for ResponseComputerToolCall
Source§fn clone(&self) -> ResponseComputerToolCall
fn clone(&self) -> ResponseComputerToolCall
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 ResponseComputerToolCall
impl Debug for ResponseComputerToolCall
Source§impl<'de> Deserialize<'de> for ResponseComputerToolCall
impl<'de> Deserialize<'de> for ResponseComputerToolCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResponseComputerToolCall
impl RefUnwindSafe for ResponseComputerToolCall
impl Send for ResponseComputerToolCall
impl Sync for ResponseComputerToolCall
impl Unpin for ResponseComputerToolCall
impl UnsafeUnpin for ResponseComputerToolCall
impl UnwindSafe for ResponseComputerToolCall
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