GoogleApi.Language.V1.Model.XPSStructType (google_api_language v0.16.3)

View Source

StructType defines the DataType-s of a STRUCT type.

Attributes

  • fields (type: %{optional(String.t) => GoogleApi.Language.V1.Model.XPSDataType.t}, default: nil) - Unordered map of struct field names to their data types.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V1.Model.XPSStructType{
  fields:
    %{optional(String.t()) => GoogleApi.Language.V1.Model.XPSDataType.t()} | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.