BasalProfileEntry.swift 233 B

123456789101112
  1. import Foundation
  2. struct BasalProfileEntry: JSON, Equatable {
  3. let start: String
  4. let minutes: Int
  5. let rate: Decimal
  6. }
  7. protocol BasalProfileObserver {
  8. func basalProfileDidChange(_ basalProfile: [BasalProfileEntry])
  9. }