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 Freeze for AuditLog
impl RefUnwindSafe for AuditLog
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnwindSafe for AuditLog
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)