pub struct AuditFact {
pub event_id: EventId,
pub event_type: AuditEventType,
pub ceremony_id: CeremonyId,
pub definition_name: CeremonyName,
pub definition_version: CeremonyVersion,
pub occurred_at: OffsetDateTime,
pub actor: AuditActor,
pub correlation_id: Option<EventId>,
pub causation_id: Option<EventId>,
pub trace: Option<TraceContext>,
}Expand description
Everything a record states except its position and its digest.
Separating the fact from its place in the chain keeps the caller from choosing either: the journal assigns the sequence and the record computes its own digest.
Fields§
§event_id: EventId§event_type: AuditEventType§ceremony_id: CeremonyId§definition_name: CeremonyName§definition_version: CeremonyVersion§occurred_at: OffsetDateTime§actor: AuditActor§correlation_id: Option<EventId>§causation_id: Option<EventId>§trace: Option<TraceContext>Trait Implementations§
impl Eq for AuditFact
impl StructuralPartialEq for AuditFact
Auto Trait Implementations§
impl Freeze for AuditFact
impl RefUnwindSafe for AuditFact
impl Send for AuditFact
impl Sync for AuditFact
impl Unpin for AuditFact
impl UnsafeUnpin for AuditFact
impl UnwindSafe for AuditFact
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