pub struct ComputerToolCallOutput {
pub id: Option<String>,
pub call_id: String,
pub acknowledged_safety_checks: Option<Vec<ComputerToolCallSafetyCheck>>,
pub output: ComputerScreenshotImage,
pub status: Option<ComputerToolCallOutputStatus>,
}
Expand description
The output of a computer tool call.
Fields§
§id: Option<String>
The ID of the computer tool call output.
call_id: String
The ID of the computer tool call that produced the output.
acknowledged_safety_checks: Option<Vec<ComputerToolCallSafetyCheck>>
The safety checks reported by the API that have been acknowledged by the developer.
output: ComputerScreenshotImage
§status: Option<ComputerToolCallOutputStatus>
The status of the message input. One of in_progress
, completed
, or
incomplete
. Populated when input items are returned via API.
Implementations§
Source§impl ComputerToolCallOutput
impl ComputerToolCallOutput
Sourcepub fn builder() -> ComputerToolCallOutputBuilder<((), (), (), (), ())>
pub fn builder() -> ComputerToolCallOutputBuilder<((), (), (), (), ())>
Create a builder for building ComputerToolCallOutput
.
On the builder, call .id(...)
(optional), .call_id(...)
, .acknowledged_safety_checks(...)
(optional), .output(...)
(optional), .status(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ComputerToolCallOutput
.
Trait Implementations§
Source§impl Clone for ComputerToolCallOutput
impl Clone for ComputerToolCallOutput
Source§fn clone(&self) -> ComputerToolCallOutput
fn clone(&self) -> ComputerToolCallOutput
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 Debug for ComputerToolCallOutput
impl Debug for ComputerToolCallOutput
Source§impl<'de> Deserialize<'de> for ComputerToolCallOutput
impl<'de> Deserialize<'de> for ComputerToolCallOutput
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 ComputerToolCallOutput
impl PartialEq for ComputerToolCallOutput
Source§impl Serialize for ComputerToolCallOutput
impl Serialize for ComputerToolCallOutput
impl StructuralPartialEq for ComputerToolCallOutput
Auto Trait Implementations§
impl Freeze for ComputerToolCallOutput
impl RefUnwindSafe for ComputerToolCallOutput
impl Send for ComputerToolCallOutput
impl Sync for ComputerToolCallOutput
impl Unpin for ComputerToolCallOutput
impl UnwindSafe for ComputerToolCallOutput
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