Struct matrix_sdk_crypto::Emoji
source · [−]Expand description
An emoji that is used for interactive verification using a short auth string.
This will contain a single emoji and description from the list of emojis from the spec.
Fields
symbol: &'static strThe emoji symbol that represents a part of the short auth string, for example: 🐶
description: &'static strThe description of the emoji, for example ‘Dog’.
Trait Implementations
sourceimpl PartialOrd<Emoji> for Emoji
impl PartialOrd<Emoji> for Emoji
sourcefn partial_cmp(&self, other: &Emoji) -> Option<Ordering>
fn partial_cmp(&self, other: &Emoji) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Emoji
impl StructuralEq for Emoji
impl StructuralPartialEq for Emoji
Auto Trait Implementations
impl RefUnwindSafe for Emoji
impl Send for Emoji
impl Sync for Emoji
impl Unpin for Emoji
impl UnwindSafe for Emoji
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.