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