pub struct StreamBody {
pub stream_id: u64,
pub data: Bytes,
}Fields§
§stream_id: u64§data: BytesTrait Implementations§
Source§impl Clone for StreamBody
impl Clone for StreamBody
Source§fn clone(&self) -> StreamBody
fn clone(&self) -> StreamBody
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 StreamBody
impl Debug for StreamBody
Source§impl PartialEq for StreamBody
impl PartialEq for StreamBody
impl Eq for StreamBody
impl StructuralPartialEq for StreamBody
Auto Trait Implementations§
impl !Freeze for StreamBody
impl RefUnwindSafe for StreamBody
impl Send for StreamBody
impl Sync for StreamBody
impl Unpin for StreamBody
impl UnwindSafe for StreamBody
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