pub struct UndoSnapshot {
pub version: u32,
pub operation: String,
pub timestamp: String,
pub queue_json: QueueFile,
pub done_json: QueueFile,
}Expand description
Full snapshot content (stored in JSON file).
Fields§
§version: u32Schema version for future migrations.
operation: StringHuman-readable operation description.
timestamp: StringRFC3339 timestamp when snapshot was created.
queue_json: QueueFileFull queue.json content at snapshot time.
done_json: QueueFileFull done.json content at snapshot time.
Trait Implementations§
Source§impl Clone for UndoSnapshot
impl Clone for UndoSnapshot
Source§fn clone(&self) -> UndoSnapshot
fn clone(&self) -> UndoSnapshot
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 UndoSnapshot
impl Debug for UndoSnapshot
Source§impl<'de> Deserialize<'de> for UndoSnapshot
impl<'de> Deserialize<'de> for UndoSnapshot
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 UndoSnapshot
impl RefUnwindSafe for UndoSnapshot
impl Send for UndoSnapshot
impl Sync for UndoSnapshot
impl Unpin for UndoSnapshot
impl UnsafeUnpin for UndoSnapshot
impl UnwindSafe for UndoSnapshot
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