import Foundation struct BugChange { let type: ChangeType let bug: Bug let oldStatus: BugStatus? let oldAssignee: String? enum ChangeType { case newBug case statusChanged case priorityChanged case assigneeChanged } }