pub struct ConformanceConfig {
pub target_url: String,
pub api_key: Option<String>,
pub basic_auth: Option<String>,
pub skip_tls_verify: bool,
pub categories: Option<Vec<String>>,
}Expand description
Configuration for conformance test generation
Fields§
§target_url: StringTarget base URL
api_key: Option<String>API key for security scheme tests
basic_auth: Option<String>Basic auth credentials (user:pass) for security scheme tests
skip_tls_verify: boolSkip TLS verification
categories: Option<Vec<String>>Optional category filter — None means all categories
Implementations§
Source§impl ConformanceConfig
impl ConformanceConfig
Sourcepub fn should_include_category(&self, category: &str) -> bool
pub fn should_include_category(&self, category: &str) -> bool
Check if a category should be included based on the filter
Auto Trait Implementations§
impl Freeze for ConformanceConfig
impl RefUnwindSafe for ConformanceConfig
impl Send for ConformanceConfig
impl Sync for ConformanceConfig
impl Unpin for ConformanceConfig
impl UnsafeUnpin for ConformanceConfig
impl UnwindSafe for ConformanceConfig
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> 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