pub struct ReproInfo {
pub baseline_curl: String,
pub probe_curl: String,
}Expand description
Reproducible curl commands for the baseline and probe requests of a finding.
Populated only when --repro is set on the scan CLI; emitted in JSON, SARIF,
and table outputs. Headers (including Authorization) appear verbatim — the
curls are designed to be copy-pasteable for hand verification.
Fields§
§baseline_curl: StringCurl command for the baseline request — headers verbatim.
probe_curl: StringCurl command for the probe request — headers verbatim.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReproInfo
impl<'de> Deserialize<'de> for ReproInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReproInfo
impl RefUnwindSafe for ReproInfo
impl Send for ReproInfo
impl Sync for ReproInfo
impl Unpin for ReproInfo
impl UnsafeUnpin for ReproInfo
impl UnwindSafe for ReproInfo
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