pub struct ComputerToolResultContent {
pub call_id: String,
pub id: Option<String>,
pub status: Option<String>,
pub screenshot: Option<Box<Content>>,
pub acknowledged_safety_checks: Option<Vec<ComputerSafetyCheck>>,
pub additional_properties: Map<String, Value>,
}Expand description
The application’s result for a ComputerToolCallContent, after running
its actions: usually a screenshot of the new state (upstream
computer_tool_result, experimental COMPUTER_USE).
Fields§
§call_id: StringThe call this answers.
id: Option<String>The provider’s output item id, if any.
status: Option<String>The status, if any.
screenshot: Option<Box<Content>>The screenshot: image data, a URI or a hosted file.
acknowledged_safety_checks: Option<Vec<ComputerSafetyCheck>>The safety checks the application explicitly acknowledged.
additional_properties: Map<String, Value>Provider-specific extras.
Trait Implementations§
Source§impl Clone for ComputerToolResultContent
impl Clone for ComputerToolResultContent
Source§fn clone(&self) -> ComputerToolResultContent
fn clone(&self) -> ComputerToolResultContent
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 ComputerToolResultContent
impl Debug for ComputerToolResultContent
Source§impl Default for ComputerToolResultContent
impl Default for ComputerToolResultContent
Source§fn default() -> ComputerToolResultContent
fn default() -> ComputerToolResultContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputerToolResultContent
impl<'de> Deserialize<'de> for ComputerToolResultContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComputerToolResultContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComputerToolResultContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ComputerToolResultContent
impl Serialize for ComputerToolResultContent
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 ComputerToolResultContent
Auto Trait Implementations§
impl Freeze for ComputerToolResultContent
impl RefUnwindSafe for ComputerToolResultContent
impl Send for ComputerToolResultContent
impl Sync for ComputerToolResultContent
impl Unpin for ComputerToolResultContent
impl UnsafeUnpin for ComputerToolResultContent
impl UnwindSafe for ComputerToolResultContent
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