Struct cdp::audits::GetEncodedResponseResponse [] [src]

pub struct GetEncodedResponseResponse<'a> {
    pub body: Option<Cow<'a, str>>,
    pub original_size: i32,
    pub encoded_size: i32,
}

[Experimental] Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

Command Audits.getEncodedResponse

Domain Module: cdp::audits
Command Struct: cdp::audits::GetEncodedResponseCommand
Response Struct: cdp::audits::GetEncodedResponseResponse

Fields

The encoded body as a base64 string. Omitted if sizeOnly is true.

Size before re-encoding.

Size after re-encoding.

Trait Implementations

impl<'a> Clone for GetEncodedResponseResponse<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for GetEncodedResponseResponse<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for GetEncodedResponseResponse<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for GetEncodedResponseResponse<'a>
[src]

COMMAND_NAME: &'static str = "Audits.getEncodedResponse"

impl<'a, 'b> HasCdpCommand<'a> for GetEncodedResponseResponse<'b>
[src]