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>,
}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 (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<'de> Deserialize<'de> for ComputerToolCallOutputResource
impl<'de> Deserialize<'de> for ComputerToolCallOutputResource
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComputerToolCallOutputResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComputerToolCallOutputResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ComputerToolCallOutputResource> for ComputerCallOutputItemParam
impl From<ComputerToolCallOutputResource> for ComputerCallOutputItemParam
Source§fn from(r: ComputerToolCallOutputResource) -> ComputerCallOutputItemParam
fn from(r: ComputerToolCallOutputResource) -> ComputerCallOutputItemParam
Converts to this type from the input type.
Source§impl Serialize for ComputerToolCallOutputResource
impl Serialize for ComputerToolCallOutputResource
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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