pub struct ShellBleedWarning {
pub pattern_name: String,
pub matched_text: String,
pub severity: Sensitivity,
pub location: String,
}Expand description
A warning raised by the shell bleed detector — something leaked where it shouldn’t have, like blood between rounds.
Fields§
§pattern_name: StringName of the pattern that matched (e.g. “aws_access_key”).
matched_text: StringThe text that matched the pattern.
severity: SensitivityHow severe the bleed is.
location: StringWhere in the command/environment the match was found.
Trait Implementations§
Source§impl Clone for ShellBleedWarning
impl Clone for ShellBleedWarning
Source§fn clone(&self) -> ShellBleedWarning
fn clone(&self) -> ShellBleedWarning
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 moreSource§impl Debug for ShellBleedWarning
impl Debug for ShellBleedWarning
Source§impl<'de> Deserialize<'de> for ShellBleedWarning
impl<'de> Deserialize<'de> for ShellBleedWarning
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 ShellBleedWarning
impl RefUnwindSafe for ShellBleedWarning
impl Send for ShellBleedWarning
impl Sync for ShellBleedWarning
impl Unpin for ShellBleedWarning
impl UnsafeUnpin for ShellBleedWarning
impl UnwindSafe for ShellBleedWarning
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