pub struct ContinueRequestCommandBuilder { /* private fields */ }Available on crate features
Fetch and Network and IO and Page only.Implementations§
Source§impl ContinueRequestCommandBuilder
impl ContinueRequestCommandBuilder
Sourcepub fn request_id(&mut self, v: RequestId) -> &mut Self
pub fn request_id(&mut self, v: RequestId) -> &mut Self
An id the client received in requestPaused event.
Sourcepub fn url(&mut self, v: String) -> &mut Self
pub fn url(&mut self, v: String) -> &mut Self
If set, the request url will be modified in a way that’s not observable by page.
Sourcepub fn post_data(&mut self, v: String) -> &mut Self
pub fn post_data(&mut self, v: String) -> &mut Self
If set, overrides the post data in the request.
Sourcepub fn headers(&mut self, v: Vec<HeaderEntry>) -> &mut Self
pub fn headers(&mut self, v: Vec<HeaderEntry>) -> &mut Self
If set, overrides the request headers.
pub fn build(&mut self) -> Result<ContinueRequestCommand, &'static str>
Trait Implementations§
Source§impl Clone for ContinueRequestCommandBuilder
impl Clone for ContinueRequestCommandBuilder
Source§fn clone(&self) -> ContinueRequestCommandBuilder
fn clone(&self) -> ContinueRequestCommandBuilder
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 moreAuto Trait Implementations§
impl Freeze for ContinueRequestCommandBuilder
impl RefUnwindSafe for ContinueRequestCommandBuilder
impl Send for ContinueRequestCommandBuilder
impl Sync for ContinueRequestCommandBuilder
impl Unpin for ContinueRequestCommandBuilder
impl UnwindSafe for ContinueRequestCommandBuilder
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