pub struct ResourceOverride {
pub url: String,
pub file: Option<String>,
pub reference: Option<u64>,
}Expand description
External resource reference used by a snapshot. Either a blob in the archive or an internal reference identifier the trace viewer reassembles.
Fields§
§url: String§file: Option<String>Path of the blob inside the archive, ready to open there. Trace v8
wrote the entry name relative to resources/; v9 writes the whole
path. Both are normalized to the path.
reference: Option<u64>Ordinal of the earlier snapshot whose copy of this resource still applies, for a stylesheet the page mutated and then left alone.
Trait Implementations§
Source§impl Clone for ResourceOverride
impl Clone for ResourceOverride
Source§fn clone(&self) -> ResourceOverride
fn clone(&self) -> ResourceOverride
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResourceOverride
impl Debug for ResourceOverride
Source§impl<'de> Deserialize<'de> for ResourceOverride
impl<'de> Deserialize<'de> for ResourceOverride
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 ResourceOverride
impl RefUnwindSafe for ResourceOverride
impl Send for ResourceOverride
impl Sync for ResourceOverride
impl Unpin for ResourceOverride
impl UnsafeUnpin for ResourceOverride
impl UnwindSafe for ResourceOverride
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