Struct teloxide::dispatching::DefaultKey
source · pub struct DefaultKey(_);
Expand description
Default distribution key for dispatching.
Trait Implementations§
source§impl Clone for DefaultKey
impl Clone for DefaultKey
source§fn clone(&self) -> DefaultKey
fn clone(&self) -> DefaultKey
Returns a copy 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 DefaultKey
impl Debug for DefaultKey
source§impl Hash for DefaultKey
impl Hash for DefaultKey
source§impl PartialEq<DefaultKey> for DefaultKey
impl PartialEq<DefaultKey> for DefaultKey
source§fn eq(&self, other: &DefaultKey) -> bool
fn eq(&self, other: &DefaultKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DefaultKey
impl StructuralEq for DefaultKey
impl StructuralPartialEq for DefaultKey
Auto Trait Implementations§
impl RefUnwindSafe for DefaultKey
impl Send for DefaultKey
impl Sync for DefaultKey
impl Unpin for DefaultKey
impl UnwindSafe for DefaultKey
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.