Ecto IP Range v0.1.0 EctoIPRange.IP4 View Source
Struct for PostgreSQL :ip4.
Usage
When used during a changeset cast the following values are accepted:
:inet.ip4_address(): an IP4 tuple, e.g.{127, 0, 0, 1}binary: binary representation, e.g."127.0.0.1"EctoIPRange.IP4.t(): a pre-casted struct
Fields
ip
Link to this section Summary
Functions
Callback implementation for Ecto.Type.embed_as/1.
Callback implementation for Ecto.Type.equal?/2.
Link to this section Types
Link to this section Functions
Callback implementation for Ecto.Type.embed_as/1.
Callback implementation for Ecto.Type.equal?/2.