[][src]Struct spectacles_model::guild::GuildAuditEntryInfo

pub struct GuildAuditEntryInfo {
    pub delete_member_days: Option<String>,
    pub members_removed: Option<String>,
    pub channel_id: Option<Snowflake>,
    pub count: Option<String>,
    pub id: Option<Snowflake>,
    pub kind: Option<String>,
    pub role_name: Option<String>,
}

Fields

delete_member_days: Option<String>

The number of days after which inactive members were kicked from the guild. This action is sent with the MEMBER_PRUNE audit log event.

members_removed: Option<String>

The number of members removed by the prune. This action is sent with the MEMBER_PRUNE audit log event.,

channel_id: Option<Snowflake>

The channel ID in which the messages were deleted. Sent with the MESSAGE_DELETE event.

count: Option<String>

The number of messages which were deleted. Sent with the MESSAGE_DELETE event.

id: Option<Snowflake>

The ID of the overwritten entity, found in a channel overwrite.

kind: Option<String>

The type of the overwritten entity, sent with the channel overwrite events.

role_name: Option<String>

The name of the role found in the channel overwrite.

Trait Implementations

impl Clone for GuildAuditEntryInfo[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GuildAuditEntryInfo[src]

impl Serialize for GuildAuditEntryInfo[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

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