pub struct ComputerUsePreviewTool {
    pub type: String,
    pub environment: String,
    pub display_width: i64,
    pub display_height: i64,
}Expand description
A tool that controls a virtual computer.
Fields§
§type: StringThe type of the computer use tool.
environment: StringThe type of computer environment to control.
display_width: i64The width of the computer display.
display_height: i64The height of the computer display.
Trait Implementations§
Source§impl Clone for ComputerUsePreviewTool
 
impl Clone for ComputerUsePreviewTool
Source§fn clone(&self) -> ComputerUsePreviewTool
 
fn clone(&self) -> ComputerUsePreviewTool
Returns a copy 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 ComputerUsePreviewTool
 
impl Debug for ComputerUsePreviewTool
Source§impl Default for ComputerUsePreviewTool
 
impl Default for ComputerUsePreviewTool
Source§fn default() -> ComputerUsePreviewTool
 
fn default() -> ComputerUsePreviewTool
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComputerUsePreviewTool
impl RefUnwindSafe for ComputerUsePreviewTool
impl Send for ComputerUsePreviewTool
impl Sync for ComputerUsePreviewTool
impl Unpin for ComputerUsePreviewTool
impl UnwindSafe for ComputerUsePreviewTool
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