pub struct StreamReadings {
pub stream_id: Uuid,
pub source_key: String,
pub readings: Vec<IngestReading>,
pub audits: Vec<GroupAudit>,
pub collection: bool,
pub window: Option<SourceWindow>,
pub annotations: Vec<AnnotationUpsert>,
}Expand description
Readings fetched for one stream, ready to ingest.
Fields§
§stream_id: Uuid§source_key: String§readings: Vec<IngestReading>§audits: Vec<GroupAudit>Portal-precomputed mean/sd per replicate group, for server-side comparison.
collection: boolMarks the readings as replicate collections; the API groups them per instant.
window: Option<SourceWindow>The completeness claim, when this fetch read the source’s full content for the stream.
annotations: Vec<AnnotationUpsert>Source-authored annotations riding this stream’s payload (e.g. the standard curve the source applied while producing a stored value). The driver registers them after the stream’s readings ingest; idempotent per (source_system, source_key).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamReadings
impl RefUnwindSafe for StreamReadings
impl Send for StreamReadings
impl Sync for StreamReadings
impl Unpin for StreamReadings
impl UnsafeUnpin for StreamReadings
impl UnwindSafe for StreamReadings
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