pub struct Incident {
pub id: IncidentId,
pub location_id: LocationId,
pub primary_subject: IncidentSubject,
pub category: Category,
pub severity: Severity,
pub status: Status,
pub reported_by: ActorRef,
pub reported_at: DateTime<Utc>,
pub summary: Summary,
pub required_review_gates: Vec<ReviewGate>,
pub audit_refs: Vec<EventId>,
}Expand description
Incident record used for manager attention, safety follow-up, customer messaging, and audit evidence.
Fields§
§id: IncidentIdId retained from source records for staff review, safety gates, and workflow joins.
location_id: LocationIdLocation id retained from source records for staff review, safety gates, and workflow joins.
primary_subject: IncidentSubjectPrimary subject retained from source records for staff review, safety gates, and workflow joins.
category: CategoryCategory retained from source records for staff review, safety gates, and workflow joins.
severity: SeveritySeverity retained from source records for staff review, safety gates, and workflow joins.
status: StatusStatus retained from source records for staff review, safety gates, and workflow joins.
reported_by: ActorRefReported by retained from source records for staff review, safety gates, and workflow joins.
reported_at: DateTime<Utc>Reported at retained from source records for staff review, safety gates, and workflow joins.
summary: SummarySummary retained from source records for staff review, safety gates, and workflow joins.
required_review_gates: Vec<ReviewGate>Required review gates retained from source records for staff review, safety gates, and workflow joins.
audit_refs: Vec<EventId>Audit refs retained from source records for staff review, safety gates, and workflow joins.