pub struct ReactionNote<'a> {
pub key: &'a str,
pub target: &'a str,
}Expand description
What a reaction letter is about: from_nick reacted key to target (an event in room).
The letter’s own event_id is the reaction event; body is a short human line with a snippet.
Fields§
§key: &'a strThe emoji (annotation key).
target: &'a strThe event that was reacted to.
Trait Implementations§
Source§impl<'a> Clone for ReactionNote<'a>
impl<'a> Clone for ReactionNote<'a>
Source§fn clone(&self) -> ReactionNote<'a>
fn clone(&self) -> ReactionNote<'a>
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<'a> Copy for ReactionNote<'a>
Source§impl<'a> Debug for ReactionNote<'a>
impl<'a> Debug for ReactionNote<'a>
impl<'a> Eq for ReactionNote<'a>
Source§impl<'a> PartialEq for ReactionNote<'a>
impl<'a> PartialEq for ReactionNote<'a>
impl<'a> StructuralPartialEq for ReactionNote<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReactionNote<'a>
impl<'a> RefUnwindSafe for ReactionNote<'a>
impl<'a> Send for ReactionNote<'a>
impl<'a> Sync for ReactionNote<'a>
impl<'a> Unpin for ReactionNote<'a>
impl<'a> UnsafeUnpin for ReactionNote<'a>
impl<'a> UnwindSafe for ReactionNote<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§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.