Struct chromiumoxide::cdp::browser_protocol::network::ReplayXhrParams
source · pub struct ReplayXhrParams {
pub request_id: RequestId,
}
Expand description
This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. replayXHR
Fields§
§request_id: RequestId
Identifier of XHR to replay.
Implementations§
source§impl ReplayXhrParams
impl ReplayXhrParams
pub fn new(request_id: impl Into<RequestId>) -> ReplayXhrParams
source§impl ReplayXhrParams
impl ReplayXhrParams
pub fn builder() -> ReplayXhrParamsBuilder
source§impl ReplayXhrParams
impl ReplayXhrParams
pub const IDENTIFIER: &'static str = "Network.replayXHR"
Trait Implementations§
source§impl Clone for ReplayXhrParams
impl Clone for ReplayXhrParams
source§fn clone(&self) -> ReplayXhrParams
fn clone(&self) -> ReplayXhrParams
Returns a copy 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 Command for ReplayXhrParams
impl Command for ReplayXhrParams
§type Response = ReplayXhrReturns
type Response = ReplayXhrReturns
The type of the response this request triggers on the chromium server
source§impl Debug for ReplayXhrParams
impl Debug for ReplayXhrParams
source§impl<'de> Deserialize<'de> for ReplayXhrParams
impl<'de> Deserialize<'de> for ReplayXhrParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ReplayXhrParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ReplayXhrParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for ReplayXhrParams
impl Method for ReplayXhrParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for ReplayXhrParams
impl MethodType for ReplayXhrParams
source§impl PartialEq for ReplayXhrParams
impl PartialEq for ReplayXhrParams
source§fn eq(&self, other: &ReplayXhrParams) -> bool
fn eq(&self, other: &ReplayXhrParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReplayXhrParams
impl Serialize for ReplayXhrParams
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 ReplayXhrParams
Auto Trait Implementations§
impl Freeze for ReplayXhrParams
impl RefUnwindSafe for ReplayXhrParams
impl Send for ReplayXhrParams
impl Sync for ReplayXhrParams
impl Unpin for ReplayXhrParams
impl UnwindSafe for ReplayXhrParams
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