SwiftstructSpotlightKnowledge

struct SpotlightKnowledge.StateDump.SchedulerState.Task

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. fieldlet cancelled: Bool+0x11
  2. fieldlet lastDone: Foundation.Date?
  3. fieldlet lastResult: SpotlightKnowledge.StateDump.SchedulerState.Task.Result?
  4. fieldlet lastRun: Foundation.Date?
  5. fieldlet name: String+0x0
  6. fieldlet running: Bool+0x10
  7. fieldlet runtime: Double
  8. initinit(name: String, running: Bool, cancelled: Bool, lastRun: Foundation.Date?, lastDone: Foundation.Date?, lastResult: SpotlightKnowledge.StateDump.SchedulerState.Task.Result?, runtime: Double) -> SpotlightKnowledge.StateDump.SchedulerState.Task
struct SpotlightKnowledge.StateDump.SchedulerState.Task {
    enum Result {
        case completed
        case defer
        case unschedule
    }
    enum CodingKeys {
        case name
        case running
        case cancelled
        case lastRun
        case lastDone
        case lastResult
        case runtime
    }
    let name: Swift.String
    let running: Swift.Bool
    let cancelled: Swift.Bool
    let lastRun: Foundation.Date?
    let lastDone: Foundation.Date?
    let lastResult: SpotlightKnowledge.StateDump.SchedulerState.Task.Result?
    let runtime: Swift.Double

    init(name: Swift.String, running: Swift.Bool, cancelled: Swift.Bool, lastRun: Foundation.Date?, lastDone: Foundation.Date?, lastResult: SpotlightKnowledge.StateDump.SchedulerState.Task.Result?, runtime: Swift.Double)
}