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>
impl<'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