TrogonProto.Uuid.V1.Uuid (Trogon.Proto v0.11.1)

Copy Markdown View Source

Uuid represents a universally unique identifier.

Use this message type instead of raw strings for type-safe UUID fields. The version can be extracted from character 15 (0-indexed: 14) of the value.

Example usage:

import "trogon/uuid/v1/uuid.proto";

message Order {

trogon.uuid.v1.Uuid id = 1;
string customer_name = 2;

}

Summary

Types

t()

@type t() :: %TrogonProto.Uuid.V1.Uuid{
  __unknown_fields__: [Protobuf.unknown_field()],
  value: String.t()
}

Functions

descriptor()