pub struct RecordHar {
pub path: String,
pub omit_content: Option<bool>,
pub content: Option<String>,
pub mode: Option<String>,
pub url_filter: Option<String>,
}Expand description
Options for recording HAR.
See: https://playwright.dev/docs/api/class-browser#browser-new-context-option-record-har
Fields§
§path: StringPath on the filesystem to write the HAR file to.
omit_content: Option<bool>Optional setting to control whether to omit request content from the HAR.
content: Option<String>Optional setting to control resource content management. “omit” | “embed” | “attach”
mode: Option<String>“full” | “minimal”
url_filter: Option<String>A glob or regex pattern to filter requests that are stored in the HAR.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecordHar
impl RefUnwindSafe for RecordHar
impl Send for RecordHar
impl Sync for RecordHar
impl Unpin for RecordHar
impl UnsafeUnpin for RecordHar
impl UnwindSafe for RecordHar
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