pub struct StreamInfo {
pub chunks: usize,
pub done: bool,
pub bad_lines: usize,
}Fields§
§chunks: usize§done: booldata: [DONE] arrived.
bad_lines: usizeLines that were not valid SSE JSON.
Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§impl Debug for StreamInfo
impl Debug for StreamInfo
Source§impl Default for StreamInfo
impl Default for StreamInfo
impl Eq for StreamInfo
Source§impl PartialEq for StreamInfo
impl PartialEq for StreamInfo
Source§impl Serialize for StreamInfo
impl Serialize for StreamInfo
impl StructuralPartialEq for StreamInfo
Auto Trait Implementations§
impl Forget for StreamInfo
impl Freeze for StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnsafeUnpin for StreamInfo
impl UnwindSafe for StreamInfo
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.