pub struct FrameResource { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Information about the Resource on the page.
Implementations§
Source§impl FrameResource
impl FrameResource
pub fn builder() -> FrameResourceBuilder
Sourcepub fn type(&self) -> &ResourceType
pub fn type(&self) -> &ResourceType
Type of this resource.
Sourcepub fn last_modified(&self) -> Option<&TimeSinceEpoch>
pub fn last_modified(&self) -> Option<&TimeSinceEpoch>
last-modified timestamp as reported by server.
Sourcepub fn content_size(&self) -> Option<&f64>
pub fn content_size(&self) -> Option<&f64>
Resource content size.
Trait Implementations§
Source§impl Clone for FrameResource
impl Clone for FrameResource
Source§fn clone(&self) -> FrameResource
fn clone(&self) -> FrameResource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameResource
impl Debug for FrameResource
Source§impl<'de> Deserialize<'de> for FrameResource
impl<'de> Deserialize<'de> for FrameResource
Source§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
Auto Trait Implementations§
impl Freeze for FrameResource
impl RefUnwindSafe for FrameResource
impl Send for FrameResource
impl Sync for FrameResource
impl Unpin for FrameResource
impl UnwindSafe for FrameResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more