pub enum RateScope {
Connection,
Member,
Invite,
Channel,
Community,
Host,
}Expand description
RATE_LIMITED scope (§11).
Variants§
Connection
connection.
Member
member.
Invite
invite.
Channel
channel.
Community
community.
Host
host.
Trait Implementations§
impl Copy for RateScope
Source§impl<'de> Deserialize<'de> for RateScope
impl<'de> Deserialize<'de> for RateScope
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 RateScope
impl StructuralPartialEq for RateScope
Auto Trait Implementations§
impl Freeze for RateScope
impl RefUnwindSafe for RateScope
impl Send for RateScope
impl Sync for RateScope
impl Unpin for RateScope
impl UnsafeUnpin for RateScope
impl UnwindSafe for RateScope
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