#[non_exhaustive]pub enum HarContent {
Omit,
Embed,
Attach,
}Expand description
How resource bodies are stored in a recorded HAR.
See: https://playwright.dev/docs/api/class-tracing#tracing-start-har-option-content
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Omit
Do not store bodies (smallest HAR).
Embed
Inline bodies into the HAR as base64 (the default for a non-.zip path).
Attach
Store bodies as separate files / zip entries (the default for a .zip path).
Trait Implementations§
Source§impl Clone for HarContent
impl Clone for HarContent
Source§fn clone(&self) -> HarContent
fn clone(&self) -> HarContent
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 moreimpl Copy for HarContent
Source§impl Debug for HarContent
impl Debug for HarContent
impl Eq for HarContent
Source§impl PartialEq for HarContent
impl PartialEq for HarContent
Source§fn eq(&self, other: &HarContent) -> bool
fn eq(&self, other: &HarContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HarContent
impl Serialize for HarContent
impl StructuralPartialEq for HarContent
Auto Trait Implementations§
impl Freeze for HarContent
impl RefUnwindSafe for HarContent
impl Send for HarContent
impl Sync for HarContent
impl Unpin for HarContent
impl UnsafeUnpin for HarContent
impl UnwindSafe for HarContent
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