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

The stylesheet identifier.

Owner frame identifier.

Stylesheet resource URL.

URL of source map associated with the stylesheet (if any).

Stylesheet origin.

Stylesheet title.

The backend id for the owner node of the stylesheet.

Denotes whether the stylesheet is disabled.

Whether the sourceURL field value comes from the sourceURL comment.

Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.

Line offset of the stylesheet within the resource (zero based).

Column offset of the stylesheet within the resource (zero based).

[Experimental] Size of the content (in characters).

Trait Implementations

impl<'a> Clone for CssStyleSheetHeader<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for CssStyleSheetHeader<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CssStyleSheetHeader<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.