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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CssStyleSheetHeader
impl Send for CssStyleSheetHeader
impl Sync for CssStyleSheetHeader
impl Unpin for CssStyleSheetHeader
impl UnwindSafe for CssStyleSheetHeader
Blanket Implementations
Mutably borrows from an owned value. Read more