Enum twilight_model::guild::audit_log::AuditLogChangeKey [−][src]
#[non_exhaustive]
pub enum AuditLogChangeKey {
Show 62 variants
AfkChannelId,
AfkTimeout,
Allow,
Archived,
ApplicationId,
Asset,
Available,
AutoArchiveDuration,
AvatarHash,
BannerHash,
Bitrate,
ChannelId,
Code,
Color,
Deaf,
DefaultAutoArchiveDuration,
DefaultMessageNotifications,
Deny,
Description,
DiscoverySplashHash,
EnableEmoticons,
ExpireBehavior,
ExpireGracePeriod,
ExplicitContentFilter,
FormatType,
GuildId,
Hoist,
IconHash,
Id,
InviterId,
Locked,
MaxAge,
MaxUses,
Mentionable,
MfaLevel,
Mute,
Name,
Nick,
NsfwLevel,
OwnerId,
Permissions,
Position,
PreferredLocale,
PrivacyLevel,
PruneDeleteDays,
PublicUpdatesChannelId,
RateLimitPerUser,
RoleAdded,
RoleRemoved,
RulesChannelId,
SplashHash,
SystemChannelId,
Tags,
Temporary,
Topic,
Type,
UserLimit,
Uses,
VanityUrlCode,
VerificationLevel,
WidgetChannelId,
WidgetEnabled,
}Expand description
Type of AuditLogChange.
For additional information refer to Discord Docs/Audit Log Change Key.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AFK voice channel for a guild.
Timeout to cause a user to be moved to an AFK voice channel.
Allowed permissions of a permission overwrite target.
Thread was archived or unarchived.
ID of an application.
Asset of a sticker.
Empty string.
Availability of a sticker.
Auto archive duration of a thread.
Hash of an avatar.
Hash of a guild banner.
Bitrate of an audio channel.
Channel for an invite code.
Code of an invite.
Color of a role.
Whether a user is guild deafened.
Default auto archive duration for new threads.
Default message notification level for a guild.
Denied permissions of a permission overwrite target.
Description of a guild.
Hash of a guild’s discovery splash.
Whether emoticons are enabled.
Behavior of the expiration of an integration.
Grace period of the expiration of an integration.
Explicit content filter level of a guild.
Format type of a sticker.
Guild that a sticker is in.
Whether a role is hoisted.
Hash of a guild icon.
ID of an entity.
ID of the user who created an invite.
Thread was locked or unlocked.
Maximum age of an invite.
Maximum uses of an invite.
Whether a role can be mentioned in a message.
Multi-Factor Authentication level required of a guild’s moderators.
Whether a user is guild muted.
Name of an entity such as a channel or role.
Nickname of a member.
NSFW level of a guild.
ID of the owner of a guild.
Default permissions of a role.
Position of an entity such as a channel or role.
Preferred locale of a guild.
Privacy level of a stage instance.
Number of days’ worth of inactivity for a guild prune.
ID of a guild’s public updates channel.
Ratelimit per user in a textual channel.
Role added to a user.
Role removed from a user.
ID of a guild’s rules channel.
Hash of a guild’s splash.
ID of a guild’s system channel.
Related emoji of a sticker.
Whether an invite is temporary.
Topic of a textual channel.
Type of a created entity.
Maximum number of users in a voice channel.
Number of uses of an invite.
Code of a guild’s vanity invite.
Required verification level of new members in a guild.
Channel ID of a widget.
Whether a widget is enabled.
Implementations
Raw name of the key.
The raw names of keys are in snake_case form.
Examples
Check the names of the Allow and BannerHash keys:
use twilight_model::guild::audit_log::AuditLogChangeKey;
assert_eq!("allow", AuditLogChangeKey::Allow.name());
assert_eq!("banner_hash", AuditLogChangeKey::BannerHash.name());Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AuditLogChangeKey
impl Send for AuditLogChangeKey
impl Sync for AuditLogChangeKey
impl Unpin for AuditLogChangeKey
impl UnwindSafe for AuditLogChangeKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more