Struct serenity::model::AuditLogEntry
[−]
[src]
pub struct AuditLogEntry { pub target: Target, pub action: Action, pub reason: Option<String>, pub user_id: UserId, pub changes: Vec<Change>, pub id: AuditLogEntryId, }
Fields
target: Target
Determines to what entity an action
was used on.
action: Action
Determines what action was done on a target
reason: Option<String>
What was the reasoning by doing an action on a target? If there was one.
user_id: UserId
The user that did this action on a target.
changes: Vec<Change>
What changes were made.
id: AuditLogEntryId
The id of this entry.