[][src]Struct serenity::model::guild::AuditLogEntry

pub struct AuditLogEntry {
    pub target_id: Option<u64>,
    pub action: Action,
    pub reason: Option<String>,
    pub user_id: UserId,
    pub changes: Option<Vec<Change>>,
    pub id: AuditLogEntryId,
    pub options: Option<Options>,
    // some fields omitted
}

Fields

target_id: Option<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.

Trait Implementations

impl Debug for AuditLogEntry[src]

impl<'de> Deserialize<'de> for AuditLogEntry[src]

impl Serialize for AuditLogEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,