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 moresource§impl Debug for AuditLogOptionalEntryInfo
impl Debug for AuditLogOptionalEntryInfo
source§impl<'de> Deserialize<'de> for AuditLogOptionalEntryInfo
impl<'de> Deserialize<'de> for AuditLogOptionalEntryInfo
source§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>,
source§impl Hash for AuditLogOptionalEntryInfo
impl Hash for AuditLogOptionalEntryInfo
impl Eq for AuditLogOptionalEntryInfo
impl StructuralPartialEq for AuditLogOptionalEntryInfo
Auto Trait Implementations§
impl Freeze for AuditLogOptionalEntryInfo
impl RefUnwindSafe for AuditLogOptionalEntryInfo
impl Send for AuditLogOptionalEntryInfo
impl Sync for AuditLogOptionalEntryInfo
impl Unpin for AuditLogOptionalEntryInfo
impl UnwindSafe for AuditLogOptionalEntryInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)