pub struct ContentScanReport {
pub normalized: String,
pub unicode: Vec<UnicodeFinding>,
pub secrets: Vec<SecretFinding>,
pub executable: Vec<ExecutableFinding>,
pub injection: Vec<InjectionFinding>,
}Fields§
§normalized: StringNFC-normalized text used for hashing and display. Always populated.
unicode: Vec<UnicodeFinding>§secrets: Vec<SecretFinding>§executable: Vec<ExecutableFinding>§injection: Vec<InjectionFinding>Implementations§
Source§impl ContentScanReport
impl ContentScanReport
Sourcepub fn has_blocking_findings(&self) -> bool
pub fn has_blocking_findings(&self) -> bool
true when there is at least one finding worth blocking on.
Sourcepub fn human_summary(&self) -> Vec<String>
pub fn human_summary(&self) -> Vec<String>
Summarise findings as human-readable lines (one per finding).
Trait Implementations§
Source§impl Debug for ContentScanReport
impl Debug for ContentScanReport
Source§impl Default for ContentScanReport
impl Default for ContentScanReport
Source§fn default() -> ContentScanReport
fn default() -> ContentScanReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContentScanReport
impl RefUnwindSafe for ContentScanReport
impl Send for ContentScanReport
impl Sync for ContentScanReport
impl Unpin for ContentScanReport
impl UnsafeUnpin for ContentScanReport
impl UnwindSafe for ContentScanReport
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