pub struct AuditLog {
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
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
sourceimpl<'de> Deserialize<'de> for AuditLog
impl<'de> Deserialize<'de> for AuditLog
sourcefn 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 Eq for AuditLog
impl StructuralEq for AuditLog
impl StructuralPartialEq for AuditLog
Auto Trait Implementations
impl RefUnwindSafe for AuditLog
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnwindSafe for AuditLog
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more