Struct twilight_model::gateway::payload::incoming::GuildAuditLogEntryCreate
source · 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<GuildAuditLogEntryCreate> for GuildAuditLogEntryCreate
impl PartialEq<GuildAuditLogEntryCreate> for GuildAuditLogEntryCreate
source§fn eq(&self, other: &GuildAuditLogEntryCreate) -> bool
fn eq(&self, other: &GuildAuditLogEntryCreate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GuildAuditLogEntryCreate
impl Serialize for GuildAuditLogEntryCreate
impl Eq for GuildAuditLogEntryCreate
impl StructuralEq for GuildAuditLogEntryCreate
impl StructuralPartialEq for GuildAuditLogEntryCreate
Auto Trait Implementations§
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