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 an application.

Unique ID of an attachment.

Unique ID of an audit log entry.

Unique ID of a channel.

Unique ID of a command used in slash commands.

Unique ID of an emoji.

Unique ID of a generic item.

Unique ID of a guild.

Unique ID of an integration.

Unique ID of an interaction payload.

Unique ID of a message.

Unique ID of a role.

Unique ID of a stage.

Unique ID of an user.

Unique ID of a webhook.