pub struct EvidenceFile {
pub schema_version: u32,
pub hostname: String,
pub collected_at: DateTime<Utc>,
pub controls: Vec<EvidenceControlEntry>,
}Expand description
Top-level evidence.json shape. The signed bytes consumed by
nixfleet-compliance-verify (and the agent’s signature verify
step) are the JCS canonical bytes of this struct.
Fields§
§schema_version: u32§hostname: String§collected_at: DateTime<Utc>§controls: Vec<EvidenceControlEntry>Trait Implementations§
Source§impl Clone for EvidenceFile
impl Clone for EvidenceFile
Source§fn clone(&self) -> EvidenceFile
fn clone(&self) -> EvidenceFile
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 EvidenceFile
impl Debug for EvidenceFile
Source§impl<'de> Deserialize<'de> for EvidenceFile
impl<'de> Deserialize<'de> for EvidenceFile
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 EvidenceFile
impl PartialEq for EvidenceFile
Source§impl Serialize for EvidenceFile
impl Serialize for EvidenceFile
impl StructuralPartialEq for EvidenceFile
Auto Trait Implementations§
impl Freeze for EvidenceFile
impl RefUnwindSafe for EvidenceFile
impl Send for EvidenceFile
impl Sync for EvidenceFile
impl Unpin for EvidenceFile
impl UnwindSafe for EvidenceFile
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