pub struct ReceivedContent {
pub data: Vec<u8>,
pub context: Option<ContentContext>,
pub is_complete: bool,
}Expand description
One received payload and its associated content context.
Fields§
§data: Vec<u8>§context: Option<ContentContext>§is_complete: boolTrait Implementations§
Source§impl Clone for ReceivedContent
impl Clone for ReceivedContent
Source§fn clone(&self) -> ReceivedContent
fn clone(&self) -> ReceivedContent
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 moreAuto Trait Implementations§
impl Freeze for ReceivedContent
impl RefUnwindSafe for ReceivedContent
impl Send for ReceivedContent
impl Sync for ReceivedContent
impl Unpin for ReceivedContent
impl UnsafeUnpin for ReceivedContent
impl UnwindSafe for ReceivedContent
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