SwiftstructWeatherDaemon
PeriodicForecast
struct WeatherDaemon.PeriodicForecast
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolTeaFoundation.BinaryDecodable
- protocolTeaFoundation.BinaryEncodable
- protocolWeatherData.FlatbufferEncodable
Members 6
- func
static read(from: inout Foundation.Data) throws -> WeatherDaemon.PeriodicForecast - field
var periodLength: UInt8+0x0 - field
var periods: [WeatherDaemon.DayPartForecast]+0x8 - func
encode(using: inout WeatherData.FlatBufferBuilder) -> WeatherData.Offset - func
write(to: inout Foundation.Data) throws -> () - init
init(periodLength: UInt8, periods: [WeatherDaemon.DayPartForecast]) -> WeatherDaemon.PeriodicForecast
Header
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 }