AutoApi.MaintenanceState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

Example

iex> state = %AutoApi.MaintenanceState{cbs_reports_count: %AutoApi.Property{data: 42}}
iex> AutoApi.MaintenanceState.to_bin(state)
<<3, 0, 4, 1, 0, 1, 42>>