pub struct AuditEntry {
pub request_id: RequestId,
pub parent_hash: [u8; 32],
pub payload_hash: [u8; 32],
pub entry_hash: [u8; 32],
pub seal: [u8; 32],
pub created_at_micros: u64,
pub processing_time_micros: u64,
pub operator_binding_hash: [u8; 32],
pub session_nonce: [u8; 32],
}Expand description
Append-only audit entry — blake3 chained for tamper evidence. Clean-room of LedgerEntry from zerocore-gateway/audit-ledger.
Fields§
§request_id: RequestId§parent_hash: [u8; 32]§payload_hash: [u8; 32]§entry_hash: [u8; 32]§seal: [u8; 32]§created_at_micros: u64§processing_time_micros: u64§operator_binding_hash: [u8; 32]Operator identity binding hash (deterministic, non-PII).
session_nonce: [u8; 32]Progressive Attestation: operator session binding.
Implementations§
Source§impl AuditEntry
impl AuditEntry
Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
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 AuditEntry
impl Debug for AuditEntry
Source§impl<'de> Deserialize<'de> for AuditEntry
impl<'de> Deserialize<'de> for AuditEntry
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
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
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