pub enum DirectMethod {
Show,
Sent,
Received,
}Expand description
Method identifiers from the direct module, for use by rate_limit_status.
Variants§
Trait Implementations§
Source§impl Debug for DirectMethod
impl Debug for DirectMethod
Source§impl Hash for DirectMethod
impl Hash for DirectMethod
Source§impl PartialEq for DirectMethod
impl PartialEq for DirectMethod
impl Eq for DirectMethod
impl StructuralPartialEq for DirectMethod
Auto Trait Implementations§
impl Freeze for DirectMethod
impl RefUnwindSafe for DirectMethod
impl Send for DirectMethod
impl Sync for DirectMethod
impl Unpin for DirectMethod
impl UnwindSafe for DirectMethod
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.