pub struct AuditLogOptions {
pub application_id: Option<Snowflake>,
pub auto_moderation_rule_name: Option<String>,
pub auto_moderation_rule_trigger_type: Option<String>,
pub channel_id: Option<Snowflake>,
pub count: Option<String>,
pub delete_member_days: Option<String>,
pub id: Option<Snowflake>,
pub members_removed: Option<String>,
pub message_id: Option<Snowflake>,
pub role_name: Option<String>,
pub overwrite_type: Option<String>,
pub integration_type: Option<String>,
}Expand description
Additional audit log entry options.
Fields§
§application_id: Option<Snowflake>ID of the app whose permissions were targeted.
auto_moderation_rule_name: Option<String>Name of the Auto Moderation rule that was triggered.
auto_moderation_rule_trigger_type: Option<String>Trigger type of the Auto Moderation rule.
channel_id: Option<Snowflake>Channel in which the entities were targeted.
count: Option<String>Number of entities that were targeted.
delete_member_days: Option<String>Number of days for prune.
id: Option<Snowflake>ID of the overwritten entity.
members_removed: Option<String>Number of members removed by the prune.
message_id: Option<Snowflake>ID of the message that was targeted.
role_name: Option<String>Name of the role.
overwrite_type: Option<String>Type of overwritten entity.
integration_type: Option<String>Type of integration.
Trait Implementations§
Source§impl Clone for AuditLogOptions
impl Clone for AuditLogOptions
Source§fn clone(&self) -> AuditLogOptions
fn clone(&self) -> AuditLogOptions
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 AuditLogOptions
impl Debug for AuditLogOptions
Source§impl Default for AuditLogOptions
impl Default for AuditLogOptions
Source§fn default() -> AuditLogOptions
fn default() -> AuditLogOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditLogOptions
impl<'de> Deserialize<'de> for AuditLogOptions
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 AuditLogOptions
impl RefUnwindSafe for AuditLogOptions
impl Send for AuditLogOptions
impl Sync for AuditLogOptions
impl Unpin for AuditLogOptions
impl UnwindSafe for AuditLogOptions
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