View Source Mobilizon.Addresses.Address (Mobilizon v2.1.0)

Represents an address for an event or a group.

Link to this section Summary

Link to this section Types

@type t() :: %Mobilizon.Addresses.Address{
  __meta__: term(),
  country: String.t() | nil,
  description: String.t() | nil,
  events: [Mobilizon.Events.Event.t()],
  geom: Geo.Point.t() | nil,
  id: term(),
  inserted_at: term(),
  locality: String.t() | nil,
  origin_id: String.t() | nil,
  postal_code: String.t() | nil,
  region: String.t() | nil,
  street: String.t() | nil,
  timezone: String.t() | nil,
  type: String.t() | nil,
  updated_at: term(),
  url: String.t()
}

Link to this section Functions

@spec coords(nil | t()) :: nil | {float(), float()}
@spec representation(nil | t()) :: nil | String.t()