pub struct ComputerUseConfig {
pub endpoint: String,
pub api_key: Option<String>,
pub timeout_ms: u64,
pub allow_remote_endpoint: bool,
pub window_allowlist: Vec<String>,
pub max_coordinate_x: Option<u32>,
pub max_coordinate_y: Option<u32>,
}Fields§
§endpoint: String§api_key: Option<String>§timeout_ms: u64§allow_remote_endpoint: bool§window_allowlist: Vec<String>§max_coordinate_x: Option<u32>§max_coordinate_y: Option<u32>Trait Implementations§
Source§impl Clone for ComputerUseConfig
impl Clone for ComputerUseConfig
Source§fn clone(&self) -> ComputerUseConfig
fn clone(&self) -> ComputerUseConfig
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 ComputerUseConfig
impl Debug for ComputerUseConfig
Source§impl Default for ComputerUseConfig
impl Default for ComputerUseConfig
Source§impl<'de> Deserialize<'de> for ComputerUseConfigwhere
ComputerUseConfig: Default,
impl<'de> Deserialize<'de> for ComputerUseConfigwhere
ComputerUseConfig: Default,
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 ComputerUseConfig
impl RefUnwindSafe for ComputerUseConfig
impl Send for ComputerUseConfig
impl Sync for ComputerUseConfig
impl Unpin for ComputerUseConfig
impl UnsafeUnpin for ComputerUseConfig
impl UnwindSafe for ComputerUseConfig
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