pub struct Sensitive {
pub path: String,
pub reason: Reason,
pub line: Option<u32>,
}Expand description
A file that should not be staged or sent without a decision.
Fields§
§path: String§reason: Reason§line: Option<u32>The 1-based line of the file where the secret starts; None for a
path-pattern finding (the whole file is the finding) and for an answer
from an older daemon.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sensitive
impl<'de> Deserialize<'de> for Sensitive
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
impl Eq for Sensitive
impl StructuralPartialEq for Sensitive
Auto Trait Implementations§
impl Forget for Sensitive
impl Freeze for Sensitive
impl Move for Sensitive
impl RefUnwindSafe for Sensitive
impl Send for Sensitive
impl Sync for Sensitive
impl Unpin for Sensitive
impl UnsafeUnpin for Sensitive
impl UnwindSafe for Sensitive
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