pub struct SnapshotInfo {
pub name: String,
pub session_id: String,
pub created_at: String,
pub turn_count: u32,
pub path: PathBuf,
}Expand description
Info about a saved snapshot.
Fields§
§name: StringSnapshot name.
session_id: StringOriginal session ID this snapshot was taken from.
created_at: StringISO-8601 timestamp of when the snapshot was created.
turn_count: u32Number of turns captured in the snapshot.
path: PathBufPath to the snapshot directory on disk.
Auto Trait Implementations§
impl Freeze for SnapshotInfo
impl RefUnwindSafe for SnapshotInfo
impl Send for SnapshotInfo
impl Sync for SnapshotInfo
impl Unpin for SnapshotInfo
impl UnsafeUnpin for SnapshotInfo
impl UnwindSafe for SnapshotInfo
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