Astarte.Core.InterfaceDescriptor.from_db_result
You're seeing just the function
from_db_result
, go back to Astarte.Core.InterfaceDescriptor module for more information.
Deserializes an %InterfaceDescriptor{}
from db_result
.
db_result
can be a keyword list or a map.
Returns the {:ok, %InterfaceDescriptor{}}
on success,
{:error, :invalid_interface_descriptor_data}
on failure.