EctoPhoneNumber (EctoPhoneNumber v0.4.0) View Source
Phone number type with validation and formatting for Ecto.
Link to this section Summary
Functions
Callback implementation for Ecto.Type.cast/1
.
Callback implementation for Ecto.Type.dump/1
.
Callback implementation for Ecto.Type.load/1
.
Callback implementation for Ecto.Type.type/0
.
Link to this section Types
Specs
t() :: %EctoPhoneNumber{e164: term()}
Link to this section Functions
Specs
Callback implementation for Ecto.Type.cast/1
.
Specs
Callback implementation for Ecto.Type.dump/1
.
Specs
embed_as(any()) :: :self
Specs
Specs
Specs
Callback implementation for Ecto.Type.load/1
.
Specs
type() :: :string
Callback implementation for Ecto.Type.type/0
.