Struct chromiumoxide_cdp::cdp::browser_protocol::css::CssStyleSheetHeader[][src]

pub struct CssStyleSheetHeader {
Show fields pub style_sheet_id: StyleSheetId, pub frame_id: FrameId, pub source_url: String, pub source_map_url: Option<String>, pub origin: StyleSheetOrigin, pub title: String, pub owner_node: Option<BackendNodeId>, pub disabled: bool, pub has_source_url: Option<bool>, pub is_inline: bool, pub is_mutable: bool, pub is_constructed: bool, pub start_line: f64, pub start_column: f64, pub length: f64, pub end_line: f64, pub end_column: f64,
}
Expand description

CSS stylesheet metainformation. CSSStyleSheetHeader

Fields

style_sheet_id: StyleSheetId

The stylesheet identifier.

frame_id: FrameId

Owner frame identifier.

source_url: String

Stylesheet resource URL.

source_map_url: Option<String>

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

origin: StyleSheetOrigin

Stylesheet origin.

title: String

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.

is_mutable: bool

Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API.

element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
is_constructed: bool

Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).

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

Size of the content (in characters).

end_line: f64

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

end_column: f64

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

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.