pub enum NoteUpdateEvent {
Reacted {
reaction: Reaction,
user_id: Id<User>,
},
Unreacted {
reaction: Reaction,
user_id: Id<User>,
},
Deleted {
deleted_at: DateTime<Utc>,
},
PollVoted {
choice: u64,
user_id: Id<User>,
},
}Variants§
Trait Implementations§
Source§impl Clone for NoteUpdateEvent
impl Clone for NoteUpdateEvent
Source§fn clone(&self) -> NoteUpdateEvent
fn clone(&self) -> NoteUpdateEvent
Returns a duplicate 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 NoteUpdateEvent
impl Debug for NoteUpdateEvent
Source§impl<'de> Deserialize<'de> for NoteUpdateEvent
impl<'de> Deserialize<'de> for NoteUpdateEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl SubNoteEvent for NoteUpdateEvent
Auto Trait Implementations§
impl Freeze for NoteUpdateEvent
impl RefUnwindSafe for NoteUpdateEvent
impl Send for NoteUpdateEvent
impl Sync for NoteUpdateEvent
impl Unpin for NoteUpdateEvent
impl UnwindSafe for NoteUpdateEvent
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