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

ApplicationId
AttachmentId
AuditLogEntryId
ChannelId
CommandId

Unique ID of a command used in slash commands.

EmojiId
GenericId
GuildId
IntegrationId
InteractionId

Unique ID of an interaction payload.

MessageId
RoleId
StageId
UserId
WebhookId