pub struct Capture {
pub decision_id: String,
pub scope: Scope,
pub status: CaptureStatus,
pub supplies: Vec<CapturedSupply>,
pub bytes: u64,
pub acquisition_pages: Vec<CapturedAcquisition>,
}Expand description
What a runtime captured for one admitted decision (spec 004, 5.3): a bounded in-memory handoff, not persistent retention and not a callback.
Fields§
§decision_id: String§scope: Scope§status: CaptureStatuscomplete, limit_exceeded or cancelled. Entries are empty under
limit_exceeded: a partial capture is never reported as complete.
supplies: Vec<CapturedSupply>In actual supply order.
bytes: u64The record-canonical lengths of every captured value document plus
each RequestId string (spec 004, 5.7), counted before any discard.
acquisition_pages: Vec<CapturedAcquisition>Acquisition supplies share the sequence with semantic supplies.
Trait Implementations§
impl StructuralPartialEq for Capture
Auto Trait Implementations§
impl Freeze for Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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