pub struct EvidenceItem {
pub id: String,
pub kind: EvidenceKind,
pub producer: String,
pub observed_at: String,
pub sha256: Option<Digest>,
pub method: String,
}Expand description
One observed value.
Fields§
§id: StringA stable id other fields cite.
kind: EvidenceKindWhat class of thing was observed.
producer: StringWhat produced the observation: the engine’s own reader, a git call, a source name.
observed_at: StringWhen it was observed, RFC 3339.
sha256: Option<Digest>The digest of what was observed, where the observation is bytes.
method: StringHow it was collected, one line.
Trait Implementations§
Source§impl Clone for EvidenceItem
impl Clone for EvidenceItem
Source§fn clone(&self) -> EvidenceItem
fn clone(&self) -> EvidenceItem
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 EvidenceItem
impl Debug for EvidenceItem
Auto Trait Implementations§
impl Freeze for EvidenceItem
impl RefUnwindSafe for EvidenceItem
impl Send for EvidenceItem
impl Sync for EvidenceItem
impl Unpin for EvidenceItem
impl UnsafeUnpin for EvidenceItem
impl UnwindSafe for EvidenceItem
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