Struct serenity::model::guild::AuditLogEntry
[−]
[src]
pub struct AuditLogEntry { pub target_id: u64, pub action: Action, pub reason: Option<String>, pub user_id: UserId, pub changes: Option<Vec<Change>>, pub id: AuditLogEntryId, pub options: Option<Options>, }
Fields
target_id: u64
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: Option<Vec<Change>>
What changes were made.
id: AuditLogEntryId
The id of this entry.
options: Option<Options>
Some optional data assosiated with this entry.