pub struct RequestSizes {
pub request_body_size: i64,
pub request_headers_size: i64,
pub response_body_size: i64,
pub response_headers_size: i64,
}Expand description
Resource size information for a request/response pair.
See: https://playwright.dev/docs/api/class-request#request-sizes
Fields§
§request_body_size: i64Size of the request body in bytes. Set to 0 if there was no body.
request_headers_size: i64Total number of bytes from the start of the HTTP request message until (and including) the double CRLF before the body.
response_body_size: i64Size of the received response body in bytes.
response_headers_size: i64Total number of bytes from the start of the HTTP response message until (and including) the double CRLF before the body.
Trait Implementations§
Source§impl Clone for RequestSizes
impl Clone for RequestSizes
Source§fn clone(&self) -> RequestSizes
fn clone(&self) -> RequestSizes
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 RequestSizes
impl RefUnwindSafe for RequestSizes
impl Send for RequestSizes
impl Sync for RequestSizes
impl Unpin for RequestSizes
impl UnsafeUnpin for RequestSizes
impl UnwindSafe for RequestSizes
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