AutoApi.ChargingSessionState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.ChargingSessionState{preconditioning_state: %AutoApi.Property{data: :inactive}} iex> AutoApi.ChargingSessionState.to_bin(state) <<11, 0, 4, 1, 0, 1, 0>>