Module twilight_model::id [−][src]
Expand description
Type-safe IDs for each resource to avoid mixing the IDs of resources like channels and guilds.
serde
These IDs support deserializing from both integers and strings and serialize into strings.
Structs
Unique ID of a command used in slash commands.
Unique ID of an interaction payload.