Module streamduck_core::core::button
source · [−]Expand description
Definitions of button structs
Structs
Button definition, it’s simply a hashmap, but is used to represent all the components of the button
Enums
Parse error used for functions in this module
Traits
Component trait, simply provides name for component generic methods
Functions
Attempts to retrieve a component from a button
Attempts to retrieve a component from reference counted button
Serializes component into JSON