pub struct BrowserUseConfig {
pub allow_history_access: Option<bool>,
pub default_origin_policy: Option<BrowserUseOriginPolicyConfig>,
pub origins: Option<HashMap<String, BrowserUseOriginPolicyConfig>>,
}Expand description
Browser-use configuration (config side, snake_case wire).
Fields§
§allow_history_access: Option<bool>§default_origin_policy: Option<BrowserUseOriginPolicyConfig>§origins: Option<HashMap<String, BrowserUseOriginPolicyConfig>>Trait Implementations§
Source§impl Clone for BrowserUseConfig
impl Clone for BrowserUseConfig
Source§fn clone(&self) -> BrowserUseConfig
fn clone(&self) -> BrowserUseConfig
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 BrowserUseConfig
impl Debug for BrowserUseConfig
Source§impl Default for BrowserUseConfig
impl Default for BrowserUseConfig
Source§fn default() -> BrowserUseConfig
fn default() -> BrowserUseConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrowserUseConfig
impl<'de> Deserialize<'de> for BrowserUseConfig
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 BrowserUseConfig
impl PartialEq for BrowserUseConfig
Source§impl Serialize for BrowserUseConfig
impl Serialize for BrowserUseConfig
impl StructuralPartialEq for BrowserUseConfig
Auto Trait Implementations§
impl Freeze for BrowserUseConfig
impl RefUnwindSafe for BrowserUseConfig
impl Send for BrowserUseConfig
impl Sync for BrowserUseConfig
impl Unpin for BrowserUseConfig
impl UnsafeUnpin for BrowserUseConfig
impl UnwindSafe for BrowserUseConfig
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