Noizu.EntityReference.Protocol protocol (Noizu Core v0.1.5)

Link to this section Summary

Types

t()

All the types that implement this protocol.

Link to this section Types

@type t() :: term()

All the types that implement this protocol.

Link to this section Functions

Link to this function

entity(subject, context)

@spec entity(any(), any()) :: {:ok, any()} | {:error, any()}
@spec id(any()) :: {:ok, any()} | {:error, any()}
@spec kind(any()) :: {:ok, any()} | {:error, any()}
@spec ref(any()) :: {:ok, any()} | {:error, any()}
@spec sref(any()) :: {:ok, any()} | {:error, any()}