pub struct ComputerUseResult {
pub status: String,
pub goal: String,
pub steps_executed: u32,
pub final_action: String,
pub final_text: Option<String>,
pub steps: Vec<ComputerUseStep>,
pub pending_confirmation: Option<Value>,
pub execution_id: Option<String>,
}Expand description
Result of the computer use execution
Fields§
§status: StringStatus: “success”, “failed”, “needs_confirmation”, “max_steps_reached”
goal: StringThe goal that was attempted
steps_executed: u32Number of steps executed
final_action: StringLast action performed
final_text: Option<String>Final text response from model
steps: Vec<ComputerUseStep>History of all steps
pending_confirmation: Option<Value>Pending confirmation info if status is “needs_confirmation”
execution_id: Option<String>Execution ID for finding screenshots (e.g., “20251205_134500_geminiComputerUse_msedge”)
Trait Implementations§
Source§impl Clone for ComputerUseResult
impl Clone for ComputerUseResult
Source§fn clone(&self) -> ComputerUseResult
fn clone(&self) -> ComputerUseResult
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 ComputerUseResult
impl Debug for ComputerUseResult
Auto Trait Implementations§
impl Freeze for ComputerUseResult
impl RefUnwindSafe for ComputerUseResult
impl Send for ComputerUseResult
impl Sync for ComputerUseResult
impl Unpin for ComputerUseResult
impl UnwindSafe for ComputerUseResult
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