struct

CRE::Persistence::AuditEntry

Inherits Struct < Value < Object

Constructors

new(seq : Int64, event_id : UUID, occurred_at : Time, event_type : String, actor : String, target_id : UUID | Nil, payload : String, prev_hash : Bytes, content_hash : Bytes, hmac : Bytes, hmac_key_version : Int32)
Source

Instance methods

actor
clone
Source
content_hash
copy_with(seq _seq = @seq, event_id _event_id = @event_id, occurred_at _occurred_at = @occurred_at, event_type _event_type = @event_type, actor _actor = @actor, target_id _target_id = @target_id, payload _payload = @payload, prev_hash _prev_hash = @prev_hash, content_hash _content_hash = @content_hash, hmac _hmac = @hmac, hmac_key_version _hmac_key_version = @hmac_key_version)
Source
event_id
event_type
hmac
hmac_key_version
occurred_at
payload
prev_hash
seq
target_id