pub struct StreamResourceContentReturns {
pub buffered_data: Binary,
}Expand description
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming. streamResourceContent
Fields§
§buffered_data: BinaryData that has been buffered until streaming is enabled.
Implementations§
Source§impl StreamResourceContentReturns
impl StreamResourceContentReturns
pub fn new(buffered_data: impl Into<Binary>) -> StreamResourceContentReturns
Trait Implementations§
Source§impl Clone for StreamResourceContentReturns
impl Clone for StreamResourceContentReturns
Source§fn clone(&self) -> StreamResourceContentReturns
fn clone(&self) -> StreamResourceContentReturns
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 StreamResourceContentReturns
impl Debug for StreamResourceContentReturns
Source§impl<'de> Deserialize<'de> for StreamResourceContentReturns
impl<'de> Deserialize<'de> for StreamResourceContentReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamResourceContentReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamResourceContentReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StreamResourceContentReturns
impl PartialEq for StreamResourceContentReturns
Source§fn eq(&self, other: &StreamResourceContentReturns) -> bool
fn eq(&self, other: &StreamResourceContentReturns) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamResourceContentReturns
impl Serialize for StreamResourceContentReturns
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StreamResourceContentReturns
Auto Trait Implementations§
impl Freeze for StreamResourceContentReturns
impl RefUnwindSafe for StreamResourceContentReturns
impl Send for StreamResourceContentReturns
impl Sync for StreamResourceContentReturns
impl Unpin for StreamResourceContentReturns
impl UnwindSafe for StreamResourceContentReturns
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