SwiftstructWeatherDaemon

struct WeatherDaemon.PeriodicForecast

Structure

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

Members 6

  1. funcstatic read(from: inout Foundation.Data) throws -> WeatherDaemon.PeriodicForecast
  2. fieldvar periodLength: UInt8+0x0
  3. fieldvar periods: [WeatherDaemon.DayPartForecast]+0x8
  4. funcencode(using: inout WeatherData.FlatBufferBuilder) -> WeatherData.Offset
  5. funcwrite(to: inout Foundation.Data) throws -> ()
  6. initinit(periodLength: UInt8, periods: [WeatherDaemon.DayPartForecast]) -> WeatherDaemon.PeriodicForecast
struct PeriodicForecast {
    enum CodingKeys {
        case periodLength
        case periods
    }
    var periodLength: Swift.UInt8
    var periods: [WeatherDaemon.DayPartForecast]

    init(periodLength: Swift.UInt8, periods: [WeatherDaemon.DayPartForecast])

    func write(to: inout Foundation.Data) throws
    func encode(using: inout WeatherData.FlatBufferBuilder) -> WeatherData.Offset

    static func read(from: inout Foundation.Data) throws -> WeatherDaemon.PeriodicForecast
}