Struct cdp::css::CssStyleSheetHeader
[−]
[src]
pub struct CssStyleSheetHeader<'a> { pub style_sheet_id: StyleSheetId<'a>, pub frame_id: FrameId<'a>, pub source_url: Cow<'a, str>, pub source_map_url: Option<Cow<'a, str>>, pub origin: StyleSheetOrigin, pub title: Cow<'a, str>, pub owner_node: Option<BackendNodeId>, pub disabled: bool, pub has_source_url: Option<bool>, pub is_inline: bool, pub start_line: f64, pub start_column: f64, pub length: f64, }
[Experimental] CSS stylesheet metainformation.
Fields
style_sheet_id: StyleSheetId<'a>
The stylesheet identifier.
frame_id: FrameId<'a>
Owner frame identifier.
source_url: Cow<'a, str>
Stylesheet resource URL.
source_map_url: Option<Cow<'a, str>>
URL of source map associated with the stylesheet (if any).
origin: StyleSheetOrigin
Stylesheet origin.
title: Cow<'a, str>
Stylesheet title.
owner_node: Option<BackendNodeId>
The backend id for the owner node of the stylesheet.
disabled: bool
Denotes whether the stylesheet is disabled.
has_source_url: Option<bool>
Whether the sourceURL field value comes from the sourceURL comment.
is_inline: bool
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
start_line: f64
Line offset of the stylesheet within the resource (zero based).
start_column: f64
Column offset of the stylesheet within the resource (zero based).
length: f64
[Experimental] Size of the content (in characters).
Trait Implementations
impl<'a> Clone for CssStyleSheetHeader<'a>
[src]
fn clone(&self) -> CssStyleSheetHeader<'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 CssStyleSheetHeader<'a>
[src]
impl<'a> PartialEq for CssStyleSheetHeader<'a>
[src]
fn eq(&self, __arg_0: &CssStyleSheetHeader<'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: &CssStyleSheetHeader<'a>) -> bool
[src]
This method tests for !=
.