View Source Avrogen.Avro.Types.Logical.DurationString (avrogen v1.0.0)

This type does not conform to the Avro duration specification. The Avro duration specification represents a duration with three unsigned integers: months, days, and milliseconds.

This is useful when the Avro value is stored as an ISO 8601 duration string, but the generated Elixir type should be Duration.

Summary

Types

@type t() :: %Avrogen.Avro.Types.Logical.DurationString{
  logicalType: String.t() | nil,
  type: String.t() | nil
}

Functions