t() :: %Pinata.Models.Pin{ hash: term(), is_duplicate: term(), size: term(), timestamp: term() }
from_map(map()) :: t()