View Source Mobilizon.Addresses.Address (Mobilizon v4.1.0-alpha.1)

Represents an address for an event or a group.

Summary

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()
}

Functions

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