AutoApi.FailureMessageState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.FailureMessageState{failure_description: %AutoApi.Property{data: "something happened"}} iex> AutoApi.FailureMessageState.to_bin(state) <<4, 0, 21, 1, 0, 18, 115, 111, 109, 101, 116, 104, 105, 110, 103, 32, 104, 97, 112, 112, 101, 110, 101, 100>>