pub struct RiskIndexEntry {
pub title: String,
pub fingerprint: String,
pub severity: Severity,
pub status: Status,
pub owner: Option<String>,
pub due_at: Option<NaiveDate>,
pub source_control: String,
pub first_run_id: String,
pub external: Vec<IndexExternal>,
pub log_head_sha256: String,
}Expand description
One projected risk in the index — its fold flattened for fast list/dashboard reads.
Fields§
§title: String§fingerprint: String§severity: Severity§status: Status§owner: Option<String>§due_at: Option<NaiveDate>§source_control: String§first_run_id: String§external: Vec<IndexExternal>§log_head_sha256: StringSHA-256 of the latest event line this entry was built from, so readers can detect staleness without re-folding.
Trait Implementations§
Source§impl Clone for RiskIndexEntry
impl Clone for RiskIndexEntry
Source§fn clone(&self) -> RiskIndexEntry
fn clone(&self) -> RiskIndexEntry
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 RiskIndexEntry
impl Debug for RiskIndexEntry
Source§impl<'de> Deserialize<'de> for RiskIndexEntry
impl<'de> Deserialize<'de> for RiskIndexEntry
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 RiskIndexEntry
impl PartialEq for RiskIndexEntry
Source§fn eq(&self, other: &RiskIndexEntry) -> bool
fn eq(&self, other: &RiskIndexEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RiskIndexEntry
impl Serialize for RiskIndexEntry
impl Eq for RiskIndexEntry
impl StructuralPartialEq for RiskIndexEntry
Auto Trait Implementations§
impl Freeze for RiskIndexEntry
impl RefUnwindSafe for RiskIndexEntry
impl Send for RiskIndexEntry
impl Sync for RiskIndexEntry
impl Unpin for RiskIndexEntry
impl UnsafeUnpin for RiskIndexEntry
impl UnwindSafe for RiskIndexEntry
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.