pub struct StreamResourceContentReturns {
pub bufferedData: String,
}Expand description
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming.
Fields§
§bufferedData: StringData that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)
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 Default for StreamResourceContentReturns
impl Default for StreamResourceContentReturns
Source§fn default() -> StreamResourceContentReturns
fn default() -> StreamResourceContentReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamResourceContentReturns
impl<'de> Deserialize<'de> for StreamResourceContentReturns
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StreamResourceContentReturns
impl RefUnwindSafe for StreamResourceContentReturns
impl Send for StreamResourceContentReturns
impl Sync for StreamResourceContentReturns
impl Unpin for StreamResourceContentReturns
impl UnsafeUnpin 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