pub struct PemRule {
pub detector: DetectorId,
pub marker: &'static str,
}Expand description
A private key recognised by its armour.
Fields§
§detector: DetectorIdWhat a finding names.
marker: &'static strThe armour line, matched as a substring anywhere in the text. A PEM header is unambiguous: no prose contains one by accident.
Trait Implementations§
impl Copy for PemRule
impl Eq for PemRule
impl StructuralPartialEq for PemRule
Auto Trait Implementations§
impl Forget for PemRule
impl Freeze for PemRule
impl Move for PemRule
impl RefUnwindSafe for PemRule
impl Send for PemRule
impl Sync for PemRule
impl Unpin for PemRule
impl UnsafeUnpin for PemRulewhere
&'static str: UnsafeUnpin,
impl UnwindSafe for PemRulewhere
&'static str: UnwindSafe,
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