pub struct StreamRead {
pub offset: u64,
pub next_offset: u64,
pub content_type: String,
pub payload: Vec<u8>,
pub up_to_date: bool,
pub closed: bool,
}Fields§
§offset: u64§next_offset: u64§content_type: String§payload: Vec<u8>§up_to_date: bool§closed: boolTrait Implementations§
Source§impl Clone for StreamRead
impl Clone for StreamRead
Source§fn clone(&self) -> StreamRead
fn clone(&self) -> StreamRead
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 StreamRead
impl Debug for StreamRead
Source§impl PartialEq for StreamRead
impl PartialEq for StreamRead
Source§fn eq(&self, other: &StreamRead) -> bool
fn eq(&self, other: &StreamRead) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StreamRead
impl StructuralPartialEq for StreamRead
Auto Trait Implementations§
impl Freeze for StreamRead
impl RefUnwindSafe for StreamRead
impl Send for StreamRead
impl Sync for StreamRead
impl Unpin for StreamRead
impl UnsafeUnpin for StreamRead
impl UnwindSafe for StreamRead
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