pub enum Change {
Insert(Insert),
UpdateBody {
body: String,
status: CompletionStatus,
late: bool,
notify: bool,
},
Edit {
conversation: ConversationKey,
original: ResolvedRef,
body: String,
},
Delete {
conversation: ConversationKey,
original: ResolvedRef,
},
}Variants§
Insert(Insert)
UpdateBody
Replace the rendered body (reassembly progress or finalization).
Edit
Apply an edit to the referenced original message.
Delete
Mark the referenced original message deleted.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)