pub struct JsonOutput<'a> {
pub schema_version: u32,
pub action: Action,
pub findings: &'a [Finding],
pub tier_reached: u8,
pub bypass_requested: bool,
pub bypass_honored: bool,
pub interactive_detected: bool,
pub policy_path_used: &'a Option<String>,
pub timings_ms: &'a Timings,
pub urls_extracted_count: Option<usize>,
}Expand description
JSON output wrapper with schema version.
Fields§
§schema_version: u32§action: Action§findings: &'a [Finding]§tier_reached: u8§bypass_requested: bool§bypass_honored: bool§interactive_detected: bool§policy_path_used: &'a Option<String>§timings_ms: &'a Timings§urls_extracted_count: Option<usize>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for JsonOutput<'a>
impl<'a> RefUnwindSafe for JsonOutput<'a>
impl<'a> Send for JsonOutput<'a>
impl<'a> Sync for JsonOutput<'a>
impl<'a> Unpin for JsonOutput<'a>
impl<'a> UnsafeUnpin for JsonOutput<'a>
impl<'a> UnwindSafe for JsonOutput<'a>
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