pub struct AuditLog {
pub application_commands: Vec<Command>,
pub auto_moderation_rules: Vec<AutoModerationRule>,
pub entries: Vec<AuditLogEntry>,
pub guild_scheduled_events: Vec<GuildScheduledEvent>,
pub integrations: Vec<AuditLogGuildIntegration>,
pub threads: Vec<Channel>,
pub users: Vec<User>,
pub webhooks: Vec<Webhook>,
}Expand description
Paginated audit log entries with additional information.
For additional information refer to Discord Docs/Audit Logs.
Fields§
§application_commands: Vec<Command>List of referenced application commands.
auto_moderation_rules: Vec<AutoModerationRule>List of referenced auto moderation rules.
entries: Vec<AuditLogEntry>Paginated entries in a guild’s audit log.
guild_scheduled_events: Vec<GuildScheduledEvent>Information about mentioned scheduled events.
integrations: Vec<AuditLogGuildIntegration>Information about mentioned integrations.
threads: Vec<Channel>Information about mentioned threads.
users: Vec<User>Information about mentioned users.
For example, users that performed the action to create an entry are in this list.
webhooks: Vec<Webhook>Information about mentioned webhooks.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditLog
impl<'de> Deserialize<'de> for AuditLog
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AuditLog
Auto Trait Implementations§
impl Forget for AuditLog
impl Freeze for AuditLogwhere
*const u8 is !null: Freeze,
PhantomData<Command>: Freeze,
PhantomData<AutoModerationRule>: Freeze,
PhantomData<AuditLogEntry>: Freeze,
PhantomData<GuildScheduledEvent>: Freeze,
PhantomData<AuditLogGuildIntegration>: Freeze,
PhantomData<Channel>: Freeze,
PhantomData<User>: Freeze,
PhantomData<Webhook>: Freeze,
impl Move for AuditLog
impl RefUnwindSafe for AuditLogwhere
NonZero<u64>: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
NonZero<i32>: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnsafeUnpin for AuditLogwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Command>: UnsafeUnpin,
PhantomData<AutoModerationRule>: UnsafeUnpin,
PhantomData<AuditLogEntry>: UnsafeUnpin,
PhantomData<GuildScheduledEvent>: UnsafeUnpin,
PhantomData<AuditLogGuildIntegration>: UnsafeUnpin,
PhantomData<Channel>: UnsafeUnpin,
PhantomData<User>: UnsafeUnpin,
PhantomData<Webhook>: UnsafeUnpin,
impl UnwindSafe for AuditLogwhere
RawVecInner: UnwindSafe,
NonZero<u64>: UnwindSafe,
InternalBitFlags: UnwindSafe,
HashMap<String, String>: UnwindSafe,
NonZero<i32>: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
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
Mutably borrows from an owned value. Read more