pub struct ResponseReceivedExtraInfoEventBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Implementations§
Source§impl ResponseReceivedExtraInfoEventBuilder
impl ResponseReceivedExtraInfoEventBuilder
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 another responseReceived event.
A list of cookies which were not stored from the response along with the corresponding reasons for blocking. The cookies here may not be valid due to syntax errors, which are represented by the invalid cookie line string instead of a proper cookie.
Sourcepub fn headers(&mut self, v: Headers) -> &mut Self
pub fn headers(&mut self, v: Headers) -> &mut Self
Raw response headers as they were received over the wire.
Sourcepub fn resource_ip_address_space(&mut self, v: JsonValue) -> &mut Self
pub fn resource_ip_address_space(&mut self, v: JsonValue) -> &mut Self
The IP address space of the resource. The address space can only be determined once the transport
established the connection, so we can’t send it in requestWillBeSentExtraInfo.
Sourcepub fn headers_text(&mut self, v: String) -> &mut Self
pub fn headers_text(&mut self, v: String) -> &mut Self
Raw response header text as it was received over the wire. The raw text may not always be available, such as in the case of HTTP/2 or QUIC.
pub fn build(&mut self) -> Result<ResponseReceivedExtraInfoEvent, &'static str>
Trait Implementations§
Source§impl Clone for ResponseReceivedExtraInfoEventBuilder
impl Clone for ResponseReceivedExtraInfoEventBuilder
Source§fn clone(&self) -> ResponseReceivedExtraInfoEventBuilder
fn clone(&self) -> ResponseReceivedExtraInfoEventBuilder
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 ResponseReceivedExtraInfoEventBuilder
impl RefUnwindSafe for ResponseReceivedExtraInfoEventBuilder
impl Send for ResponseReceivedExtraInfoEventBuilder
impl Sync for ResponseReceivedExtraInfoEventBuilder
impl Unpin for ResponseReceivedExtraInfoEventBuilder
impl UnwindSafe for ResponseReceivedExtraInfoEventBuilder
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