Struct chromiumoxide_cdp::cdp::browser_protocol::page::FrameResource [−][src]
pub struct FrameResource { pub url: String, pub type: ResourceType, pub mime_type: String, pub last_modified: Option<TimeSinceEpoch>, pub content_size: Option<f64>, pub failed: Option<bool>, pub canceled: Option<bool>, }
Expand description
Information about the Resource on the page. FrameResource
Fields
url: String
Resource URL.
type: ResourceType
Type of this resource.
mime_type: String
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.
Implementations
Trait Implementations
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
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 FrameResource
impl Send for FrameResource
impl Sync for FrameResource
impl Unpin for FrameResource
impl UnwindSafe for FrameResource
Blanket Implementations
Mutably borrows from an owned value. Read more