pub struct HarToCustomOptions {
pub base_url: Option<String>,
pub skip_static: bool,
pub include_headers: Vec<String>,
pub max_entries: usize,
}Expand description
Options controlling HAR-to-YAML conversion
Fields§
§base_url: Option<String>Base URL to strip from entry URLs. If None, auto-detected from the
first entry’s scheme + host + port.
skip_static: boolSkip entries whose path ends with common static-asset extensions (.js, .css, .png, .jpg, .gif, .svg, .ico, .woff, .woff2, .ttf, .map).
include_headers: Vec<String>Only include these response headers in the generated checks. If empty, no header checks are generated.
max_entries: usizeMaximum number of entries to process (0 = unlimited).
Trait Implementations§
Source§impl Clone for HarToCustomOptions
impl Clone for HarToCustomOptions
Source§fn clone(&self) -> HarToCustomOptions
fn clone(&self) -> HarToCustomOptions
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 HarToCustomOptions
impl Debug for HarToCustomOptions
Auto Trait Implementations§
impl Freeze for HarToCustomOptions
impl RefUnwindSafe for HarToCustomOptions
impl Send for HarToCustomOptions
impl Sync for HarToCustomOptions
impl Unpin for HarToCustomOptions
impl UnsafeUnpin for HarToCustomOptions
impl UnwindSafe for HarToCustomOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more