pub struct RequestWillBeSentExtraInfoEventBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Implementations§
Source§impl RequestWillBeSentExtraInfoEventBuilder
impl RequestWillBeSentExtraInfoEventBuilder
Sourcepub fn request_id(&mut self, v: RequestId) -> &mut Self
pub fn request_id(&mut self, v: RequestId) -> &mut Self
Request identifier. Used to match this information to an existing requestWillBeSent event.
A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.
Sourcepub fn headers(&mut self, v: Headers) -> &mut Self
pub fn headers(&mut self, v: Headers) -> &mut Self
Raw request headers as they will be sent over the wire.
Sourcepub fn client_security_state(&mut self, v: JsonValue) -> &mut Self
pub fn client_security_state(&mut self, v: JsonValue) -> &mut Self
The client security state set for the request.
pub fn build(&mut self) -> Result<RequestWillBeSentExtraInfoEvent, &'static str>
Trait Implementations§
Source§impl Clone for RequestWillBeSentExtraInfoEventBuilder
impl Clone for RequestWillBeSentExtraInfoEventBuilder
Source§fn clone(&self) -> RequestWillBeSentExtraInfoEventBuilder
fn clone(&self) -> RequestWillBeSentExtraInfoEventBuilder
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 RequestWillBeSentExtraInfoEventBuilder
impl RefUnwindSafe for RequestWillBeSentExtraInfoEventBuilder
impl Send for RequestWillBeSentExtraInfoEventBuilder
impl Sync for RequestWillBeSentExtraInfoEventBuilder
impl Unpin for RequestWillBeSentExtraInfoEventBuilder
impl UnwindSafe for RequestWillBeSentExtraInfoEventBuilder
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