View Source Astarte.Core.StorageType (astarte_core v1.2.0)

Summary

Functions

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

returns storage_type atom from a valid storage type int value.

returns storage_type associated int value.

Functions

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Link to this function

from_int(storage_type_int)

View Source

returns storage_type atom from a valid storage type int value.

returns storage_type associated int value.