pub struct ComputerUsePreviousAction {
pub name: String,
pub response: ComputerUseActionResponse,
pub screenshot: String,
pub url: Option<String>,
}Expand description
Previous action to send back with screenshot (for multi-step)
Fields§
§name: StringAction name that was executed
response: ComputerUseActionResponseResult of the action
screenshot: StringScreenshot after action (base64 PNG)
url: Option<String>Current page URL (for browser contexts)
Trait Implementations§
Source§impl Clone for ComputerUsePreviousAction
impl Clone for ComputerUsePreviousAction
Source§fn clone(&self) -> ComputerUsePreviousAction
fn clone(&self) -> ComputerUsePreviousAction
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 ComputerUsePreviousAction
impl Debug for ComputerUsePreviousAction
Auto Trait Implementations§
impl Freeze for ComputerUsePreviousAction
impl RefUnwindSafe for ComputerUsePreviousAction
impl Send for ComputerUsePreviousAction
impl Sync for ComputerUsePreviousAction
impl Unpin for ComputerUsePreviousAction
impl UnwindSafe for ComputerUsePreviousAction
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