pub struct TracingStartOptions {
pub name: Option<String>,
pub screenshots: Option<bool>,
pub snapshots: Option<bool>,
}Expand description
Options for starting a trace recording.
See: https://playwright.dev/docs/api/class-tracing#tracing-start
Fields§
§name: Option<String>Custom name for the trace. Shown in trace viewer as the trace title.
screenshots: Option<bool>Whether to capture screenshots during tracing. Screenshots are used as a timeline preview in the trace viewer.
snapshots: Option<bool>Whether to capture DOM snapshots on each action.
Trait Implementations§
Source§impl Clone for TracingStartOptions
impl Clone for TracingStartOptions
Source§fn clone(&self) -> TracingStartOptions
fn clone(&self) -> TracingStartOptions
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 TracingStartOptions
impl Debug for TracingStartOptions
Source§impl Default for TracingStartOptions
impl Default for TracingStartOptions
Source§fn default() -> TracingStartOptions
fn default() -> TracingStartOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TracingStartOptions
impl RefUnwindSafe for TracingStartOptions
impl Send for TracingStartOptions
impl Sync for TracingStartOptions
impl Unpin for TracingStartOptions
impl UnsafeUnpin for TracingStartOptions
impl UnwindSafe for TracingStartOptions
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