pub struct ParsedStream {
pub header: StreamHeader,
pub events: Vec<ProgressEvent>,
pub terminal: Envelope,
}Expand description
A parsed JSONL stream: the progress events and the terminal record.
Fields§
§header: StreamHeaderRequired first record with schema, engine and source identity.
events: Vec<ProgressEvent>Progress events in order.
terminal: EnvelopeThe terminal record.
Trait Implementations§
Source§impl Clone for ParsedStream
impl Clone for ParsedStream
Source§fn clone(&self) -> ParsedStream
fn clone(&self) -> ParsedStream
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 ParsedStream
impl Debug for ParsedStream
impl Eq for ParsedStream
Source§impl PartialEq for ParsedStream
impl PartialEq for ParsedStream
impl StructuralPartialEq for ParsedStream
Auto Trait Implementations§
impl Forget for ParsedStream
impl Freeze for ParsedStream
impl Move for ParsedStream
impl RefUnwindSafe for ParsedStream
impl Send for ParsedStream
impl Sync for ParsedStream
impl Unpin for ParsedStream
impl UnsafeUnpin for ParsedStream
impl UnwindSafe for ParsedStream
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.