pub struct AuditLogOptionalEntryInfo {
pub auto_moderation_rule_name: Option<String>,
pub auto_moderation_rule_trigger_type: Option<String>,
pub channel_id: Option<Id<ChannelMarker>>,
pub count: Option<String>,
pub delete_member_days: Option<String>,
pub id: Option<Id<GenericMarker>>,
pub integration_type: Option<GuildIntegrationType>,
pub kind: Option<String>,
pub members_removed: Option<String>,
pub message_id: Option<Id<MessageMarker>>,
pub role_name: Option<String>,
}
Expand description
Additional information for certain AuditLogEventType
s.
Fields§
§auto_moderation_rule_name: Option<String>
Name of the Auto Moderation rule that was triggered.
The following events have this option:
auto_moderation_rule_trigger_type: Option<String>
Trigger type of the Auto Moderation rule that was triggered.
The following events have this option:
channel_id: Option<Id<ChannelMarker>>
Channel in which the entities were targeted.
The following events have this option:
AuditLogEventType::AutoModerationBlockMessage
AuditLogEventType::AutoModerationFlagToChannel
AuditLogEventType::AutoModerationUserCommunicationDisabled
AuditLogEventType::MemberMove
AuditLogEventType::MessageDelete
AuditLogEventType::MessagePin
AuditLogEventType::MessageUnpin
AuditLogEventType::StageInstanceCreate
AuditLogEventType::StageInstanceDelete
AuditLogEventType::StageInstanceUpdate
count: Option<String>
Number of entities that were targeted.
The following events have this option:
delete_member_days: Option<String>
Specified number of days’ worth of inactivity members must have in order to be kicked.
The following events have this option:
id: Option<Id<GenericMarker>>
ID of overwritten entity.
The following events have this option:
integration_type: Option<GuildIntegrationType>
Type of integration which performed the action.
The following events have this option:
kind: Option<String>
Type of overwritten entity.
The following events have this option:
members_removed: Option<String>
Number of members removed from a change.
The following events have this option:
message_id: Option<Id<MessageMarker>>
ID of the affected message.
The following events have this option:
role_name: Option<String>
Name of a role.
The following events have this option:
Trait Implementations§
Source§impl Clone for AuditLogOptionalEntryInfo
impl Clone for AuditLogOptionalEntryInfo
Source§fn clone(&self) -> AuditLogOptionalEntryInfo
fn clone(&self) -> AuditLogOptionalEntryInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more