pub struct HookFinding {
pub rule_id: String,
pub severity: String,
pub message: String,
pub recommendation: String,
}Expand description
Security finding detected by the hook analyzer.
Fields§
§rule_id: StringRule ID (e.g., “EX-001”)
severity: StringSeverity level
message: StringShort description
recommendation: StringRecommendation for fixing
Implementations§
Source§impl HookFinding
impl HookFinding
Sourcepub fn to_denial_reason(&self) -> String
pub fn to_denial_reason(&self) -> String
Format as a denial reason string.
Trait Implementations§
Source§impl Clone for HookFinding
impl Clone for HookFinding
Source§fn clone(&self) -> HookFinding
fn clone(&self) -> HookFinding
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 HookFinding
impl Debug for HookFinding
Auto Trait Implementations§
impl Freeze for HookFinding
impl RefUnwindSafe for HookFinding
impl Send for HookFinding
impl Sync for HookFinding
impl Unpin for HookFinding
impl UnwindSafe for HookFinding
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