pub struct AdScriptIdentifier {
pub script_id: ScriptId,
pub debugger_id: UniqueDebuggerId,
pub name: String,
}Expand description
Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.
Experimental: may change without notice.
Fields§
§script_id: ScriptIdThe script’s V8 identifier.
debugger_id: UniqueDebuggerIdV8’s debugging ID for the v8::Context.
name: StringThe script’s url (or generated name based on id if inline script).
Trait Implementations§
Source§impl Clone for AdScriptIdentifier
impl Clone for AdScriptIdentifier
Source§impl Debug for AdScriptIdentifier
impl Debug for AdScriptIdentifier
Source§impl Default for AdScriptIdentifier
impl Default for AdScriptIdentifier
Source§impl<'de> Deserialize<'de> for AdScriptIdentifier
impl<'de> Deserialize<'de> for AdScriptIdentifier
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
Source§impl PartialEq for AdScriptIdentifier
impl PartialEq for AdScriptIdentifier
Source§impl Serialize for AdScriptIdentifier
impl Serialize for AdScriptIdentifier
impl StructuralPartialEq for AdScriptIdentifier
Auto Trait Implementations§
impl Forget for AdScriptIdentifier
impl Freeze for AdScriptIdentifier
impl RefUnwindSafe for AdScriptIdentifier
impl Send for AdScriptIdentifier
impl Sync for AdScriptIdentifier
impl Unpin for AdScriptIdentifier
impl UnsafeUnpin for AdScriptIdentifier
impl UnwindSafe for AdScriptIdentifier
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