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§
Source§impl Clone for GuildAuditEntryInfo
impl Clone for GuildAuditEntryInfo
Source§fn clone(&self) -> GuildAuditEntryInfo
fn clone(&self) -> GuildAuditEntryInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuildAuditEntryInfo
impl Debug for GuildAuditEntryInfo
Source§impl<'de> Deserialize<'de> for GuildAuditEntryInfo
impl<'de> Deserialize<'de> for GuildAuditEntryInfo
Source§fn 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
Auto Trait Implementations§
impl Freeze for GuildAuditEntryInfo
impl RefUnwindSafe for GuildAuditEntryInfo
impl Send for GuildAuditEntryInfo
impl Sync for GuildAuditEntryInfo
impl Unpin for GuildAuditEntryInfo
impl UnwindSafe for GuildAuditEntryInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more