OnePiece.Commanded.Helpers (OnePiece.Commanded v0.4.0) View Source

Link to this section Summary

Functions

Transforms the given source map or struct into the target struct.

Link to this section Functions

Specs

generate_uuid() :: String.t()
Link to this function

struct_from(source, target)

View Source

Specs

struct_from(source :: struct(), target :: struct()) :: struct()
struct_from(attrs :: map(), target :: module()) :: struct()

Transforms the given source map or struct into the target struct.