Struct chromiumoxide::cdp::browser_protocol::fetch::GetResponseBodyReturns[][src]

pub struct GetResponseBodyReturns {
    pub body: String,
    pub base64_encoded: bool,
}

Causes the body of the response to be received from the server and returned as a single string. May only be issued for a request that is paused in the Response stage and is mutually exclusive with takeResponseBodyForInterceptionAsStream. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior. getResponseBody

Fields

body: String

Response body.

base64_encoded: bool

True, if content was sent as base64.

Implementations

impl GetResponseBodyReturns[src]

pub fn new(
    body: impl Into<String>,
    base64_encoded: impl Into<bool>
) -> GetResponseBodyReturns
[src]

impl GetResponseBodyReturns[src]

Trait Implementations

impl Clone for GetResponseBodyReturns[src]

impl Debug for GetResponseBodyReturns[src]

impl<'de> Deserialize<'de> for GetResponseBodyReturns[src]

impl PartialEq<GetResponseBodyReturns> for GetResponseBodyReturns[src]

impl Serialize for GetResponseBodyReturns[src]

impl StructuralPartialEq for GetResponseBodyReturns[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,