Skip to content

Commit

Permalink
Remove unused model::guild::Target enum (#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickelc authored and arqunis committed Mar 15, 2022
1 parent 16dcc69 commit b767215
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/model/guild/audit_log.rs
Expand Up @@ -6,21 +6,6 @@ use serde::ser::Serializer;
use crate::internal::prelude::*;
use crate::model::prelude::*;

/// Determines to what entity an action was used on.
#[derive(Debug)]
#[non_exhaustive]
#[repr(u8)]
pub enum Target {
Guild = 10,
Channel = 20,
User = 30,
Role = 40,
Invite = 50,
Webhook = 60,
Emoji = 70,
Integration = 80,
}

/// Determines the action that was done on a target.
#[derive(Debug)]
#[non_exhaustive]
Expand Down

0 comments on commit b767215

Please sign in to comment.