pub struct Snapshot {
pub format: u32,
pub run_id: String,
pub graph_fingerprint: String,
pub elapsed_ms: u64,
pub steps: u64,
pub usage: Usage,
pub handled_errors: u32,
pub budget: BudgetState,
pub root: FrameSnapshot,
}Expand description
Complete persisted state of a paused run.
Fields§
§format: u32§run_id: String§graph_fingerprint: StringFingerprint of the graph the snapshot was taken from.
elapsed_ms: u64§steps: u64§usage: Usage§handled_errors: u32§budget: BudgetStateWhat the run charged against its token and cost budget, and its limits.
root: FrameSnapshotImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Forget for Snapshot
impl Freeze for Snapshotwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, IndexMap<String, Value>>>: Freeze,
PhantomData<Bucket<String, NodeSnapshot>>: Freeze,
PhantomData<Bucket<String, EdgeStatus>>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
PhantomData<(Selector, Value)>: Freeze,
impl Move for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, IndexMap<String, Value>>>: UnsafeUnpin,
PhantomData<Bucket<String, NodeSnapshot>>: UnsafeUnpin,
PhantomData<Bucket<String, EdgeStatus>>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
PhantomData<(Selector, Value)>: UnsafeUnpin,
impl UnwindSafe for Snapshotwhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<Vec<Value>>: UnwindSafe,
Arc<IndexMap<String, Value>>: UnwindSafe,
Arc<File>: UnwindSafe,
Arc<[Arc<str>]>: UnwindSafe,
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