AutoApi.WeatherConditionsState.to_bin

You're seeing just the function to_bin, go back to AutoApi.WeatherConditionsState module for more information.

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.WeatherConditionsState{rain_intensity: %AutoApi.Property{data: 12.7}} iex> AutoApi.WeatherConditionsState.to_bin(state) <<1, 0, 11, 1, 0, 8, 64, 41, 102, 102, 102, 102, 102, 102>>