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
url: Cow<'a, str>
Resource URL.
ty: ResourceType
Type of this resource.
mime_type: Cow<'a, str>
Resource mimeType as determined by the browser.
last_modified: Option<TimeSinceEpoch>
last-modified timestamp as reported by server.
content_size: Option<f64>
Resource content size.
failed: Option<bool>
True if the resource failed to load.
canceled: Option<bool>
True if the resource was canceled during loading.
Trait Implementations
impl<'a> Clone for FrameResource<'a>
[src]
fn clone(&self) -> FrameResource<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for FrameResource<'a>
[src]
impl<'a> PartialEq for FrameResource<'a>
[src]
fn eq(&self, __arg_0: &FrameResource<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FrameResource<'a>) -> bool
[src]
This method tests for !=
.