pub struct FindingRef {
pub control_id: String,
pub run_id: String,
pub manifest_sha256: String,
pub finding_id: String,
pub body_path: Option<String>,
}Expand description
Binds a risk to immutable evidence by content hash. The fingerprint
<control_id>:<finding_id> is the risk’s cross-run identity.
Fields§
§control_id: String§run_id: String§manifest_sha256: String§finding_id: String§body_path: Option<String>Implementations§
Source§impl FindingRef
impl FindingRef
Sourcepub fn fingerprint(&self) -> String
pub fn fingerprint(&self) -> String
<control_id>:<finding_id> — the cross-run identity of the risk this
finding produced.
Trait Implementations§
Source§impl Clone for FindingRef
impl Clone for FindingRef
Source§fn clone(&self) -> FindingRef
fn clone(&self) -> FindingRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FindingRef
impl Debug for FindingRef
Source§impl<'de> Deserialize<'de> for FindingRef
impl<'de> Deserialize<'de> for FindingRef
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
Source§impl PartialEq for FindingRef
impl PartialEq for FindingRef
Source§fn eq(&self, other: &FindingRef) -> bool
fn eq(&self, other: &FindingRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FindingRef
impl Serialize for FindingRef
impl Eq for FindingRef
impl StructuralPartialEq for FindingRef
Auto Trait Implementations§
impl Freeze for FindingRef
impl RefUnwindSafe for FindingRef
impl Send for FindingRef
impl Sync for FindingRef
impl Unpin for FindingRef
impl UnsafeUnpin for FindingRef
impl UnwindSafe for FindingRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.