pub struct BrowserbaseConfig {
pub api_key: SecretString,
pub project_id: String,
}Expand description
Credentials and target project for BrowserbaseBackend::connect.
Fields§
§api_key: SecretStringAPI key from https://browserbase.com/settings. Wrapped in
SecretString so it doesn’t leak into Debug output or logs.
project_id: StringProject id (UUID) the session is created under.
Trait Implementations§
Source§impl Clone for BrowserbaseConfig
impl Clone for BrowserbaseConfig
Source§fn clone(&self) -> BrowserbaseConfig
fn clone(&self) -> BrowserbaseConfig
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 moreAuto Trait Implementations§
impl Freeze for BrowserbaseConfig
impl RefUnwindSafe for BrowserbaseConfig
impl Send for BrowserbaseConfig
impl Sync for BrowserbaseConfig
impl Unpin for BrowserbaseConfig
impl UnsafeUnpin for BrowserbaseConfig
impl UnwindSafe for BrowserbaseConfig
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