pub struct ExecutionResult {
pub success: bool,
pub detected: bool,
pub skipped: bool,
pub skip_reason: Option<String>,
pub port_checks: Vec<PortCheck>,
pub report: Report,
pub variables: HashMap<String, VariableValue>,
pub metadata: CheckMetadata,
}Fields§
§success: bool§detected: boolTrue when finalize_finding() produced a finding (metadata + matchers passed).
skipped: boolCheck did not run because a required socket port was closed (see skip_reason).
skip_reason: Option<String>§port_checks: Vec<PortCheck>Port probes performed before execution (empty for HTTP-only checks).
report: Report§variables: HashMap<String, VariableValue>§metadata: CheckMetadataTrait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§fn clone(&self) -> ExecutionResult
fn clone(&self) -> ExecutionResult
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 moreAuto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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