Struct cdp::page::FrameResource [] [src]

pub struct FrameResource<'a> {
    pub url: Cow<'a, str>,
    pub ty: ResourceType,
    pub mime_type: Cow<'a, str>,
    pub last_modified: Option<TimeSinceEpoch>,
    pub content_size: Option<f64>,
    pub failed: Option<bool>,
    pub canceled: Option<bool>,
}

[Experimental] Information about the Resource on the page.

Fields

Resource URL.

Type of this resource.

Resource mimeType as determined by the browser.

last-modified timestamp as reported by server.

Resource content size.

True if the resource failed to load.

True if the resource was canceled during loading.

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for FrameResource<'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 !=.