pub enum RateCategory {
Show 13 variants
Commands,
MembershipRequest,
InviteRedeem,
Messages,
Attachments,
History,
Sync,
Reactions,
Mentions,
Voice,
CommunityCreate,
Reports,
Dms,
}Expand description
RATE_LIMITED category (§11).
Variants§
Commands
commands.
MembershipRequest
membership_request.
InviteRedeem
invite_redeem.
Messages
messages.
Attachments
attachments.
History
history.
Sync
sync.
Reactions
reactions.
Mentions
mentions.
Voice
voice.
CommunityCreate
community_create.
Reports
reports.
Dms
dms: opening direct messages, and a bot writing into one nobody answered (§8.15).
Trait Implementations§
Source§impl Clone for RateCategory
impl Clone for RateCategory
Source§fn clone(&self) -> RateCategory
fn clone(&self) -> RateCategory
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 moreimpl Copy for RateCategory
Source§impl Debug for RateCategory
impl Debug for RateCategory
Source§impl<'de> Deserialize<'de> for RateCategory
impl<'de> Deserialize<'de> for RateCategory
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
impl Eq for RateCategory
Source§impl Hash for RateCategory
impl Hash for RateCategory
Source§impl PartialEq for RateCategory
impl PartialEq for RateCategory
Source§impl Serialize for RateCategory
impl Serialize for RateCategory
impl StructuralPartialEq for RateCategory
Auto Trait Implementations§
impl Freeze for RateCategory
impl RefUnwindSafe for RateCategory
impl Send for RateCategory
impl Sync for RateCategory
impl Unpin for RateCategory
impl UnsafeUnpin for RateCategory
impl UnwindSafe for RateCategory
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