pub struct MessageAudit {
pub audit_id: Snowflake,
pub message_id: Snowflake,
pub guild_id: Snowflake,
pub channel_id: Snowflake,
pub audit_time: Timestamp,
pub create_time: Timestamp,
pub seq_in_channel: String,
pub event_id: Option<String>,
}Expand description
Represents a message audit event.
Fields§
§audit_id: SnowflakeThe audit ID
message_id: SnowflakeThe message ID that was audited
guild_id: SnowflakeThe guild ID where the message was posted
channel_id: SnowflakeThe channel ID where the message was posted
audit_time: TimestampThe audit time
create_time: TimestampThe create time
seq_in_channel: StringChannel-specific sequence number for ordering audited messages
event_id: Option<String>Event ID from the gateway
Trait Implementations§
Source§impl Clone for MessageAudit
impl Clone for MessageAudit
Source§fn clone(&self) -> MessageAudit
fn clone(&self) -> MessageAudit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MessageAudit
impl Debug for MessageAudit
Source§impl Default for MessageAudit
impl Default for MessageAudit
Source§fn default() -> MessageAudit
fn default() -> MessageAudit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAudit
impl<'de> Deserialize<'de> for MessageAudit
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 MessageAudit
impl PartialEq for MessageAudit
Source§fn eq(&self, other: &MessageAudit) -> bool
fn eq(&self, other: &MessageAudit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageAudit
impl Serialize for MessageAudit
impl StructuralPartialEq for MessageAudit
Auto Trait Implementations§
impl Freeze for MessageAudit
impl RefUnwindSafe for MessageAudit
impl Send for MessageAudit
impl Sync for MessageAudit
impl Unpin for MessageAudit
impl UnsafeUnpin for MessageAudit
impl UnwindSafe for MessageAudit
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