pub struct ComputerUseTool {
pub tool_type: String,
pub name: String,
pub display_width_px: u32,
pub display_height_px: u32,
pub display_number: Option<u32>,
pub allowed_callers: Option<Vec<String>>,
pub cache_control: Option<CacheControl>,
}Expand description
Computer use tool (beta)
Fields§
§tool_type: String§name: String§display_width_px: u32Display width
display_height_px: u32Display height
display_number: Option<u32>Display number (optional)
allowed_callers: Option<Vec<String>>Allowed callers for this tool
cache_control: Option<CacheControl>Cache control for this tool
Trait Implementations§
Source§impl Clone for ComputerUseTool
impl Clone for ComputerUseTool
Source§fn clone(&self) -> ComputerUseTool
fn clone(&self) -> ComputerUseTool
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 ComputerUseTool
impl Debug for ComputerUseTool
Source§impl<'de> Deserialize<'de> for ComputerUseTool
impl<'de> Deserialize<'de> for ComputerUseTool
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 ComputerUseTool
impl RefUnwindSafe for ComputerUseTool
impl Send for ComputerUseTool
impl Sync for ComputerUseTool
impl Unpin for ComputerUseTool
impl UnwindSafe for ComputerUseTool
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