pub struct DiffConfig {
pub baseline_url: String,
pub target_url: String,
pub diff_headers: bool,
pub diff_bodies: bool,
pub diff_status: bool,
pub timeout_secs: u64,
pub output: PathBuf,
}Expand description
Configuration for a diff run.
Fields§
§baseline_url: StringBaseline environment URL (e.g. production).
target_url: StringTarget environment URL (e.g. staging, new deployment).
diff_headers: boolWhether to diff response headers.
diff_bodies: boolWhether to diff response bodies.
diff_status: boolWhether to diff status codes.
timeout_secs: u64Request timeout in seconds.
output: PathBufOutput directory for results.
Trait Implementations§
Source§impl Clone for DiffConfig
impl Clone for DiffConfig
Source§fn clone(&self) -> DiffConfig
fn clone(&self) -> DiffConfig
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 moreSource§impl Debug for DiffConfig
impl Debug for DiffConfig
Source§impl Default for DiffConfig
impl Default for DiffConfig
Source§fn default() -> DiffConfig
fn default() -> DiffConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiffConfig
impl<'de> Deserialize<'de> for DiffConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiffConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiffConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DiffConfig
impl Serialize for DiffConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DiffConfig
impl RefUnwindSafe for DiffConfig
impl Send for DiffConfig
impl Sync for DiffConfig
impl Unpin for DiffConfig
impl UnsafeUnpin for DiffConfig
impl UnwindSafe for DiffConfig
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