pub struct SnapshotOutcome {
pub summary: SnapshotSummary,
pub format: SnapshotFormat,
pub export: Value,
pub snapshot_count: usize,
}Expand description
The snapshot just taken plus the rendered history.
Fields§
§summary: SnapshotSummary§format: SnapshotFormat§export: ValueThe newest SNAPSHOT_EXPORT_LIMIT snapshots by as_of (ties by
taken_at), oldest first: a list of summaries for json, a Markdown
table string for markdown. A backfilled snapshot sits at its
as_of position, and one older than all of those is stored and
counted but not listed.
snapshot_count: usizeSnapshots stored for the plan, this one included.
Trait Implementations§
Source§impl Clone for SnapshotOutcome
impl Clone for SnapshotOutcome
Source§impl Debug for SnapshotOutcome
impl Debug for SnapshotOutcome
Source§impl PartialEq for SnapshotOutcome
impl PartialEq for SnapshotOutcome
Source§impl Serialize for SnapshotOutcome
impl Serialize for SnapshotOutcome
impl StructuralPartialEq for SnapshotOutcome
Auto Trait Implementations§
impl Freeze for SnapshotOutcome
impl RefUnwindSafe for SnapshotOutcome
impl Send for SnapshotOutcome
impl Sync for SnapshotOutcome
impl Unpin for SnapshotOutcome
impl UnsafeUnpin for SnapshotOutcome
impl UnwindSafe for SnapshotOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.