Struct chromiumoxide_cdp::cdp::browser_protocol::audits::GetEncodedResponseParams [−][src]
pub struct GetEncodedResponseParams { pub request_id: RequestId, pub encoding: GetEncodedResponseEncoding, pub quality: Option<f64>, pub size_only: Option<bool>, }
Expand description
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images. getEncodedResponse
Fields
request_id: RequestId
Identifier of the network request to get content for.
encoding: GetEncodedResponseEncoding
The encoding to use.
quality: Option<f64>
The quality of the encoding (0-1). (defaults to 1)
size_only: Option<bool>
Whether to only return the size information (defaults to false).
Implementations
Trait Implementations
The type of the response this request triggers on the chromium server
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetEncodedResponseParams
impl Send for GetEncodedResponseParams
impl Sync for GetEncodedResponseParams
impl Unpin for GetEncodedResponseParams
impl UnwindSafe for GetEncodedResponseParams
Blanket Implementations
Mutably borrows from an owned value. Read more