pub struct ComputerUsePreviewTool {
pub display_height: i64,
pub display_width: i64,
pub environment: ComputerUsePreviewToolEnvironment,
pub type_: String,
}Expand description
A tool that controls a virtual computer.
Fields§
§display_height: i64The height of the computer display.
display_width: i64The width of the computer display.
environment: ComputerUsePreviewToolEnvironmentThe type of computer environment to control.
type_: StringThe type of the computer use tool. Always computer_use_preview.
Trait Implementations§
Source§impl Clone for ComputerUsePreviewTool
impl Clone for ComputerUsePreviewTool
Source§fn clone(&self) -> ComputerUsePreviewTool
fn clone(&self) -> ComputerUsePreviewTool
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 ComputerUsePreviewTool
impl Debug for ComputerUsePreviewTool
Source§impl<'de> Deserialize<'de> for ComputerUsePreviewTool
impl<'de> Deserialize<'de> for ComputerUsePreviewTool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 UnsafeUnpin 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