Struct cdp::page::GetResourceContentResponse [] [src]

pub struct GetResourceContentResponse<'a> {
    pub content: Cow<'a, str>,
    pub base_64_encoded: bool,
}

[Experimental] Returns content of the given resource.

Command Page.getResourceContent

Domain Module: cdp::page
Command Struct: cdp::page::GetResourceContentCommand
Response Struct: cdp::page::GetResourceContentResponse

Fields

Resource content.

True, if content was served as base64.

Trait Implementations

impl<'a> Clone for GetResourceContentResponse<'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 GetResourceContentResponse<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for GetResourceContentResponse<'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 GetResourceContentResponse<'a>
[src]

COMMAND_NAME: &'static str = "Page.getResourceContent"

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