pub struct StateCheckpoint {
pub id: String,
pub label: Option<String>,
pub timestamp: DateTime<Utc>,
pub state: Value,
pub event_index: usize,
}Expand description
A snapshot of application state taken at a specific point during recording.
Fields§
§id: StringUnique identifier for this checkpoint.
label: Option<String>Optional human-readable label for the checkpoint.
timestamp: DateTime<Utc>When the checkpoint was created.
state: ValueSerialized application state at the checkpoint.
event_index: usizeIndex into the event stream at the time of this checkpoint.
Trait Implementations§
Source§impl Clone for StateCheckpoint
impl Clone for StateCheckpoint
Source§fn clone(&self) -> StateCheckpoint
fn clone(&self) -> StateCheckpoint
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 StateCheckpoint
impl Debug for StateCheckpoint
Source§impl<'de> Deserialize<'de> for StateCheckpoint
impl<'de> Deserialize<'de> for StateCheckpoint
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 StateCheckpoint
impl RefUnwindSafe for StateCheckpoint
impl Send for StateCheckpoint
impl Sync for StateCheckpoint
impl Unpin for StateCheckpoint
impl UnsafeUnpin for StateCheckpoint
impl UnwindSafe for StateCheckpoint
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