Nostrum.Util.nostrum_struct

You're seeing just the macro nostrum_struct, go back to Nostrum.Util module for more information.
Link to this macro

nostrum_struct(body)

View Source (macro)

Helper for defining all the methods used for struct and encoding transformations.

Example

Nostrum.Util.nostrum_struct(%{
  author: User,
  mentions: [User],
  mention_roles: [User],
  embeds: [Embed]
})