pub struct StreamResourceContent {
pub method: StreamResourceContentMethod,
pub params: StreamResourceContentParams,
}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§
§method: StreamResourceContentMethod§params: StreamResourceContentParamsImplementations§
Source§impl StreamResourceContent
impl StreamResourceContent
pub fn builder() -> StreamResourceContentBuilder
Source§impl StreamResourceContent
impl StreamResourceContent
pub const IDENTIFIER: &'static str = "Network.streamResourceContent"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StreamResourceContent
impl Clone for StreamResourceContent
Source§fn clone(&self) -> StreamResourceContent
fn clone(&self) -> StreamResourceContent
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 CommandResult for StreamResourceContent
impl CommandResult for StreamResourceContent
type Result = StreamResourceContentResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for StreamResourceContent
impl Debug for StreamResourceContent
Source§impl<'de> Deserialize<'de> for StreamResourceContent
impl<'de> Deserialize<'de> for StreamResourceContent
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
Source§impl From<StreamResourceContent> for BrowserProtocolCommands
impl From<StreamResourceContent> for BrowserProtocolCommands
Source§fn from(v: StreamResourceContent) -> Self
fn from(v: StreamResourceContent) -> Self
Converts to this type from the input type.
Source§impl From<StreamResourceContent> for Command
impl From<StreamResourceContent> for Command
Source§fn from(v: StreamResourceContent) -> Self
fn from(v: StreamResourceContent) -> Self
Converts to this type from the input type.
Source§impl From<StreamResourceContent> for NetworkCommands
impl From<StreamResourceContent> for NetworkCommands
Source§fn from(v: StreamResourceContent) -> Self
fn from(v: StreamResourceContent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamResourceContent
impl PartialEq for StreamResourceContent
Source§impl Serialize for StreamResourceContent
impl Serialize for StreamResourceContent
Source§impl TryFrom<BrowserProtocolCommands> for StreamResourceContent
impl TryFrom<BrowserProtocolCommands> for StreamResourceContent
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <StreamResourceContent as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <StreamResourceContent as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for StreamResourceContent
impl TryFrom<Command> for StreamResourceContent
Source§impl TryFrom<NetworkCommands> for StreamResourceContent
impl TryFrom<NetworkCommands> for StreamResourceContent
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <StreamResourceContent as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <StreamResourceContent as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for StreamResourceContent
Auto Trait Implementations§
impl Freeze for StreamResourceContent
impl RefUnwindSafe for StreamResourceContent
impl Send for StreamResourceContent
impl Sync for StreamResourceContent
impl Unpin for StreamResourceContent
impl UnsafeUnpin for StreamResourceContent
impl UnwindSafe for StreamResourceContent
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