pub struct MeshAuditEnvelope {
pub caller_spiffe: String,
pub op: MemOp,
pub namespace: Namespace,
pub decided: PolicyDecision,
pub prev_chain_head: [u8; 32],
pub envelope_at: SystemTime,
}Expand description
Audit envelope appended to the chained ledger after every authorized
op. The prev_chain_head matches the existing
mnemo-core::provenance HMAC chain, so an export joins memory
receipts and Mesh decisions on a single timeline.
Fields§
§caller_spiffe: String§op: MemOp§namespace: Namespace§decided: PolicyDecision§prev_chain_head: [u8; 32]HMAC of the existing provenance chain right before this op. 32 raw bytes; serialise as hex/base64 at the wire boundary.
envelope_at: SystemTimeImplementations§
Trait Implementations§
Source§impl Clone for MeshAuditEnvelope
impl Clone for MeshAuditEnvelope
Source§fn clone(&self) -> MeshAuditEnvelope
fn clone(&self) -> MeshAuditEnvelope
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 MeshAuditEnvelope
impl Debug for MeshAuditEnvelope
Source§impl<'de> Deserialize<'de> for MeshAuditEnvelope
impl<'de> Deserialize<'de> for MeshAuditEnvelope
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 MeshAuditEnvelope
impl PartialEq for MeshAuditEnvelope
Source§impl Serialize for MeshAuditEnvelope
impl Serialize for MeshAuditEnvelope
impl Eq for MeshAuditEnvelope
impl StructuralPartialEq for MeshAuditEnvelope
Auto Trait Implementations§
impl Freeze for MeshAuditEnvelope
impl RefUnwindSafe for MeshAuditEnvelope
impl Send for MeshAuditEnvelope
impl Sync for MeshAuditEnvelope
impl Unpin for MeshAuditEnvelope
impl UnsafeUnpin for MeshAuditEnvelope
impl UnwindSafe for MeshAuditEnvelope
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