pub struct ComputerUseResponse {
pub completed: bool,
pub function_call: Option<ComputerUseFunctionCall>,
pub text: Option<String>,
pub safety_decision: Option<String>,
}Expand description
Response from Computer Use backend
Fields§
§completed: boolTrue if task is complete (no more actions needed)
function_call: Option<ComputerUseFunctionCall>Function call if action is needed
text: Option<String>Text response from model (reasoning or final answer)
safety_decision: Option<String>Safety decision if confirmation required
Trait Implementations§
Source§impl Clone for ComputerUseResponse
impl Clone for ComputerUseResponse
Source§fn clone(&self) -> ComputerUseResponse
fn clone(&self) -> ComputerUseResponse
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 moreAuto Trait Implementations§
impl Freeze for ComputerUseResponse
impl RefUnwindSafe for ComputerUseResponse
impl Send for ComputerUseResponse
impl Sync for ComputerUseResponse
impl Unpin for ComputerUseResponse
impl UnwindSafe for ComputerUseResponse
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