pub struct UndoEntry {
pub id: u64,
pub timestamp: SystemTime,
pub operation: UndoableOperation,
pub description: String,
}Expand description
An entry in the undo log.
Fields§
§id: u64Unique ID for this entry.
timestamp: SystemTimeWhen the operation was performed.
operation: UndoableOperationThe operation that was performed.
description: StringHuman-readable description.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UndoEntry
impl<'de> Deserialize<'de> for UndoEntry
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
Auto Trait Implementations§
impl Freeze for UndoEntry
impl RefUnwindSafe for UndoEntry
impl Send for UndoEntry
impl Sync for UndoEntry
impl Unpin for UndoEntry
impl UnsafeUnpin for UndoEntry
impl UnwindSafe for UndoEntry
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