Public declaration syntax from forge-rs/crates/forge-telemetry/src/signed_audit.rs Original source SHA-256: a74610b828086f877775ae88a89222853849ef73960016fcada3f6a56a835ea9 Function bodies and constant values are omitted. This is not the complete implementation. Source line 101 #[derive(Debug, Clone, Serialize, Deserialize)] pub struct SignedAuditEntry { /// Sequential index in the trail (0-based). pub index: usize, /// The audit event data. pub event: AuditEvent, /// BLAKE3 hash of the previous entry (or genesis hash for index 0). pub previous_hash: String, /// Hex-encoded 64-byte Ed25519 signature over the canonical content. pub signature_hex: String, /// BLAKE3 hash of this entry's signed content (used as `previous_hash` by the next entry). pub entry_hash: String } Source line 225 #[derive(Debug, Clone, Serialize, Deserialize)] pub struct SignedAuditTrail { } Source line 261 #[cfg(feature = "signed-audit")] pub fn new(identity: &forge_identity::agent_identity::ForgeAgentIdentity) -> Self; Source line 279 pub fn from_parts(agent_did: String, verifying_key_hex: String) -> Self; Source line 299 #[cfg(feature = "signed-audit")] pub fn append_signed( &mut self, event: AuditEvent, identity: &forge_identity::agent_identity::ForgeAgentIdentity, ); Source line 387 pub fn verify_entry(&self, index: usize) -> Result<(), TelemetryError>; Source line 534 pub fn verify_all(&self) -> Result<(), TelemetryError>; Source line 542 pub fn entries(&self) -> &[SignedAuditEntry]; Source line 547 pub fn len(&self) -> usize; Source line 552 pub fn is_empty(&self) -> bool; Source line 557 pub fn last(&self) -> Option<&SignedAuditEntry>; Source line 562 pub fn agent_did(&self) -> &str; Source line 567 pub fn verifying_key_hex(&self) -> &str; Source line 580 pub fn filter_by_kind(&self, kind: &AuditEventKind) -> Vec<&SignedAuditEntry>;