pub struct ReadResult {
pub records: Vec<CanonicalRecord>,
pub framings: Vec<Framing>,
pub filtered: Vec<FilteredMemory>,
pub flags: ReadFlags,
pub as_of: ClockTime,
pub as_committed: ClockTime,
pub query_committed_at: ClockTime,
}Expand description
Result of a read-path query per read-protocol.md § 5.
Fields§
§records: Vec<CanonicalRecord>Matched canonical records — mixed kinds when :kind is
unspecified, single-kind otherwise. Order: by committed_at
ascending.
framings: Vec<Framing>Per-record framing, parallel to records. Empty unless
:show_framing true (or :debug_mode true). When populated,
framings.len() == records.len().
filtered: Vec<FilteredMemory>Records that were dropped by a filter, surfaced when
:explain_filtered true (or :debug_mode true). Empty
otherwise — the default silent-filter UX per spec § 11.1.
flags: ReadFlagsFlag bitset; see ReadFlags constants.
as_of: ClockTimeEffective as_of used for this query (the pipeline’s latest
commit if the predicate was absent).
as_committed: ClockTimeEffective as_committed.
query_committed_at: ClockTimeSnapshot boundary — pipeline’s latest committed clock at
query start. Per read-protocol.md § 9.
Trait Implementations§
Source§impl Clone for ReadResult
impl Clone for ReadResult
Source§fn clone(&self) -> ReadResult
fn clone(&self) -> ReadResult
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 ReadResult
impl Debug for ReadResult
Source§impl PartialEq for ReadResult
impl PartialEq for ReadResult
impl StructuralPartialEq for ReadResult
Auto Trait Implementations§
impl Freeze for ReadResult
impl RefUnwindSafe for ReadResult
impl Send for ReadResult
impl Sync for ReadResult
impl Unpin for ReadResult
impl UnsafeUnpin for ReadResult
impl UnwindSafe for ReadResult
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