Localize.PhoneNumber.Number (Localize.PhoneNumber v0.1.0)

Copy Markdown View Source

Represents a parsed phone number.

The struct contains the decomposed fields of a phone number for inspection, plus an opaque __native__ binary that preserves the full protobuf representation for lossless round-trips through the NIF layer.

Summary

Types

t()

@type t() :: %Localize.PhoneNumber.Number{
  __native__: binary(),
  country_code: pos_integer(),
  extension: String.t() | nil,
  national_number: pos_integer(),
  raw_input: String.t()
}