pub struct GetResponseBodyForInterception {
pub method: GetResponseBodyForInterceptionMethod,
pub params: GetResponseBodyForInterceptionParams,
}Expand description
Returns content served for the given currently intercepted request. getResponseBodyForInterception
Fields§
§method: GetResponseBodyForInterceptionMethod§params: GetResponseBodyForInterceptionParamsImplementations§
Source§impl GetResponseBodyForInterception
impl GetResponseBodyForInterception
pub fn builder() -> GetResponseBodyForInterceptionBuilder
Source§impl GetResponseBodyForInterception
impl GetResponseBodyForInterception
pub const IDENTIFIER: &'static str = "Network.getResponseBodyForInterception"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetResponseBodyForInterception
impl Clone for GetResponseBodyForInterception
Source§fn clone(&self) -> GetResponseBodyForInterception
fn clone(&self) -> GetResponseBodyForInterception
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 GetResponseBodyForInterception
impl CommandResult for GetResponseBodyForInterception
type Result = GetResponseBodyForInterceptionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for GetResponseBodyForInterception
impl<'de> Deserialize<'de> for GetResponseBodyForInterception
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<GetResponseBodyForInterception> for BrowserProtocolCommands
impl From<GetResponseBodyForInterception> for BrowserProtocolCommands
Source§fn from(v: GetResponseBodyForInterception) -> Self
fn from(v: GetResponseBodyForInterception) -> Self
Converts to this type from the input type.
Source§impl From<GetResponseBodyForInterception> for Command
impl From<GetResponseBodyForInterception> for Command
Source§fn from(v: GetResponseBodyForInterception) -> Self
fn from(v: GetResponseBodyForInterception) -> Self
Converts to this type from the input type.
Source§impl From<GetResponseBodyForInterception> for NetworkCommands
impl From<GetResponseBodyForInterception> for NetworkCommands
Source§fn from(v: GetResponseBodyForInterception) -> Self
fn from(v: GetResponseBodyForInterception) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetResponseBodyForInterception
impl PartialEq for GetResponseBodyForInterception
Source§fn eq(&self, other: &GetResponseBodyForInterception) -> bool
fn eq(&self, other: &GetResponseBodyForInterception) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolCommands> for GetResponseBodyForInterception
impl TryFrom<BrowserProtocolCommands> for GetResponseBodyForInterception
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, <GetResponseBodyForInterception as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetResponseBodyForInterception as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkCommands> for GetResponseBodyForInterception
impl TryFrom<NetworkCommands> for GetResponseBodyForInterception
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, <GetResponseBodyForInterception as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <GetResponseBodyForInterception as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetResponseBodyForInterception
Auto Trait Implementations§
impl Freeze for GetResponseBodyForInterception
impl RefUnwindSafe for GetResponseBodyForInterception
impl Send for GetResponseBodyForInterception
impl Sync for GetResponseBodyForInterception
impl Unpin for GetResponseBodyForInterception
impl UnsafeUnpin for GetResponseBodyForInterception
impl UnwindSafe for GetResponseBodyForInterception
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