pub struct BrowserLaunchSpec {
pub executable: PathBuf,
pub args: Vec<String>,
pub profile_dir: Option<PathBuf>,
}Expand description
Validated launch specification for a headless Chrome/Chromium child process.
Fields§
§executable: PathBufPath to the discovered or configured Chrome/Chromium executable.
args: Vec<String>Ordered command-line arguments passed to the browser executable.
profile_dir: Option<PathBuf>Ephemeral isolated --user-data-dir profile directory owned by the session.
Trait Implementations§
Source§impl Clone for BrowserLaunchSpec
impl Clone for BrowserLaunchSpec
Source§fn clone(&self) -> BrowserLaunchSpec
fn clone(&self) -> BrowserLaunchSpec
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 BrowserLaunchSpec
impl Debug for BrowserLaunchSpec
impl Eq for BrowserLaunchSpec
Source§impl PartialEq for BrowserLaunchSpec
impl PartialEq for BrowserLaunchSpec
impl StructuralPartialEq for BrowserLaunchSpec
Auto Trait Implementations§
impl Forget for BrowserLaunchSpec
impl Freeze for BrowserLaunchSpec
impl Move for BrowserLaunchSpec
impl RefUnwindSafe for BrowserLaunchSpec
impl Send for BrowserLaunchSpecwhere
RawVecInner: Send,
impl Sync for BrowserLaunchSpecwhere
RawVecInner: Sync,
impl Unpin for BrowserLaunchSpec
impl UnsafeUnpin for BrowserLaunchSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BrowserLaunchSpecwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.