Crux vdev Crux.Structs.Overwrite View Source

Represents a Discord Overwrite Object.

Link to this section Summary

Functions

Creates a Crux.Structs.Overwrite struct from raw data.

Link to this section Types

Link to this type

t() View Source (since 0.1.0)
t() :: %Crux.Structs.Overwrite{
  allow: integer(),
  deny: integer(),
  id: Crux.Rest.snowflake(),
  type: String.t()
}

Link to this section Functions

Link to this function

create(data) View Source (since 0.1.0)
create(data :: map()) :: t()

Creates a Crux.Structs.Overwrite struct from raw data.

Automatically invoked by Crux.Structs.create/2.