Struct chromiumoxide_cdp::cdp::browser_protocol::css::CssStyle [−][src]
pub struct CssStyle { pub style_sheet_id: Option<StyleSheetId>, pub css_properties: Vec<CssProperty>, pub shorthand_entries: Vec<ShorthandEntry>, pub css_text: Option<String>, pub range: Option<SourceRange>, }
Expand description
CSS style representation. CSSStyle
Fields
style_sheet_id: Option<StyleSheetId>
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
css_properties: Vec<CssProperty>
CSS properties in the style.
shorthand_entries: Vec<ShorthandEntry>
Computed values for all shorthands found in the style.
css_text: Option<String>
Style declaration text (if available).
range: Option<SourceRange>
Style declaration range in the enclosing stylesheet (if available).
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
Auto Trait Implementations
impl RefUnwindSafe for CssStyle
impl UnwindSafe for CssStyle
Blanket Implementations
Mutably borrows from an owned value. Read more