pub struct ComputerToolCallOutputResource {
pub call_id: String,
pub output: ComputerScreenshotImage,
pub acknowledged_safety_checks: Option<Vec<ComputerCallSafetyCheckParam>>,
pub id: String,
pub status: ComputerCallOutputStatus,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
A computer tool call output item returned by the API.
Fields§
§call_id: StringThe ID of the computer tool call that produced the output.
output: ComputerScreenshotImageA computer screenshot image used with the computer use tool.
acknowledged_safety_checks: Option<Vec<ComputerCallSafetyCheckParam>>The safety checks reported by the API that have been acknowledged by the developer.
id: StringThe unique ID of the computer tool call output.
status: ComputerCallOutputStatusThe status of the item returned by the API.
created_by: Option<String>The identifier of the actor that created the item.
Trait Implementations§
Source§impl Clone for ComputerToolCallOutputResource
impl Clone for ComputerToolCallOutputResource
Source§fn clone(&self) -> ComputerToolCallOutputResource
fn clone(&self) -> ComputerToolCallOutputResource
Returns a duplicate 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 moreSource§impl<'de> Deserialize<'de> for ComputerToolCallOutputResource
impl<'de> Deserialize<'de> for ComputerToolCallOutputResource
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
Source§impl PartialEq for ComputerToolCallOutputResource
impl PartialEq for ComputerToolCallOutputResource
Source§fn eq(&self, other: &ComputerToolCallOutputResource) -> bool
fn eq(&self, other: &ComputerToolCallOutputResource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComputerToolCallOutputResource
Auto Trait Implementations§
impl Freeze for ComputerToolCallOutputResource
impl RefUnwindSafe for ComputerToolCallOutputResource
impl Send for ComputerToolCallOutputResource
impl Sync for ComputerToolCallOutputResource
impl Unpin for ComputerToolCallOutputResource
impl UnsafeUnpin for ComputerToolCallOutputResource
impl UnwindSafe for ComputerToolCallOutputResource
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