Spear.Event.id

You're seeing just the function id, go back to Spear.Event module for more information.

Specs

id(t()) :: String.t()

Returns the ID of the event, following the event's link if provided

Examples

iex> Spear.Event.id(%Spear.Event{link: nil, id: "817cf20b-6791-4979-afdd-da4b03e02007", ..)
"817cf20b-6791-4979-afdd-da4b03e02007"
iex> Spear.Event.id(
...>   %Spear.Event{
...>     link: %Spear.Event{id: "976601b0-3775-442e-b98c-5f56af809402", ..},
...>     id: "817cf20b-6791-4979-afdd-da4b03e02007",
...>     ..
...>   }
...> )
"976601b0-3775-442e-b98c-5f56af809402"