pub struct BrowserConfigSection {
pub enabled: bool,
pub binary_path: Option<PathBuf>,
pub engine: String,
pub headless: bool,
pub timeout_ms: u64,
}Expand description
Browser configuration section in config.toml
Fields§
§enabled: boolEnable browser tool (default: false)
binary_path: Option<PathBuf>Path to agent-browser binary (default: “agent-browser” in PATH)
engine: StringBrowser engine to use (default: “chrome”)
headless: boolRun in headless mode (default: true)
timeout_ms: u64Timeout for operations in milliseconds (default: 30000)
Trait Implementations§
Source§impl Clone for BrowserConfigSection
impl Clone for BrowserConfigSection
Source§fn clone(&self) -> BrowserConfigSection
fn clone(&self) -> BrowserConfigSection
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 BrowserConfigSection
impl Debug for BrowserConfigSection
Source§impl Default for BrowserConfigSection
impl Default for BrowserConfigSection
Source§impl<'de> Deserialize<'de> for BrowserConfigSection
impl<'de> Deserialize<'de> for BrowserConfigSection
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
Source§impl PartialEq for BrowserConfigSection
impl PartialEq for BrowserConfigSection
impl StructuralPartialEq for BrowserConfigSection
Auto Trait Implementations§
impl Freeze for BrowserConfigSection
impl RefUnwindSafe for BrowserConfigSection
impl Send for BrowserConfigSection
impl Sync for BrowserConfigSection
impl Unpin for BrowserConfigSection
impl UnsafeUnpin for BrowserConfigSection
impl UnwindSafe for BrowserConfigSection
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