pub struct GuildAuditLogEntryCreate(pub AuditLogEntry);
Expand description
The inner value of the GuildAuditLogEntryCreate
variant of the
Event
enum.
It is received when a new audit log entry is created in a
server. The bot needs the VIEW_AUDIT_LOG
permission to receive
the event.
Tuple Fields§
§0: AuditLogEntry
Trait Implementations§
Source§impl Clone for GuildAuditLogEntryCreate
impl Clone for GuildAuditLogEntryCreate
Source§fn clone(&self) -> GuildAuditLogEntryCreate
fn clone(&self) -> GuildAuditLogEntryCreate
Returns a copy 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 GuildAuditLogEntryCreate
impl Debug for GuildAuditLogEntryCreate
Source§impl Deref for GuildAuditLogEntryCreate
impl Deref for GuildAuditLogEntryCreate
Source§impl DerefMut for GuildAuditLogEntryCreate
impl DerefMut for GuildAuditLogEntryCreate
Source§impl<'de> Deserialize<'de> for GuildAuditLogEntryCreate
impl<'de> Deserialize<'de> for GuildAuditLogEntryCreate
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
Source§impl PartialEq for GuildAuditLogEntryCreate
impl PartialEq for GuildAuditLogEntryCreate
Source§impl Serialize for GuildAuditLogEntryCreate
impl Serialize for GuildAuditLogEntryCreate
impl Eq for GuildAuditLogEntryCreate
impl StructuralPartialEq for GuildAuditLogEntryCreate
Auto Trait Implementations§
impl Freeze for GuildAuditLogEntryCreate
impl RefUnwindSafe for GuildAuditLogEntryCreate
impl Send for GuildAuditLogEntryCreate
impl Sync for GuildAuditLogEntryCreate
impl Unpin for GuildAuditLogEntryCreate
impl UnwindSafe for GuildAuditLogEntryCreate
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