pub struct RunReadback {
pub entries: Vec<ReadbackEntry>,
pub final_phase: RunPhase,
pub next_seq: u64,
}Expand description
Replay-validated, all-visibility audit view for one run ledger.
Tool results retain their recorded ResultVisibility metadata; this projection does not
filter entries for a model or user audience.
Fields§
§entries: Vec<ReadbackEntry>Chronological entries useful for replay output.
final_phase: RunPhaseFinal run phase after replaying all events.
next_seq: u64Next expected sequence number after replay.
Implementations§
Source§impl RunReadback
impl RunReadback
Sourcepub fn from_events(events: &[RecordedEvent]) -> Result<Self, Error>
pub fn from_events(events: &[RecordedEvent]) -> Result<Self, Error>
Replays an ordered ledger and rejects the first invalid recorded event.
Trait Implementations§
Source§impl Clone for RunReadback
impl Clone for RunReadback
Source§fn clone(&self) -> RunReadback
fn clone(&self) -> RunReadback
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunReadback
impl Debug for RunReadback
Source§impl PartialEq for RunReadback
impl PartialEq for RunReadback
impl StructuralPartialEq for RunReadback
Auto Trait Implementations§
impl Freeze for RunReadback
impl RefUnwindSafe for RunReadback
impl Send for RunReadback
impl Sync for RunReadback
impl Unpin for RunReadback
impl UnsafeUnpin for RunReadback
impl UnwindSafe for RunReadback
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