Struct chromiumoxide::cdp::browser_protocol::css::CssProperty[][src]

pub struct CssProperty {
    pub name: String,
    pub value: String,
    pub important: Option<bool>,
    pub implicit: Option<bool>,
    pub text: Option<String>,
    pub parsed_ok: Option<bool>,
    pub disabled: Option<bool>,
    pub range: Option<SourceRange>,
}

CSS property declaration data. CSSProperty

Fields

name: String

The property name.

value: String

The property value.

important: Option<bool>

Whether the property has “!important” annotation (implies false if absent).

implicit: Option<bool>

Whether the property is implicit (implies false if absent).

text: Option<String>

The full property text as specified in the style.

parsed_ok: Option<bool>

Whether the property is understood by the browser (implies true if absent).

disabled: Option<bool>

Whether the property is disabled by the user (present for source-based properties only).

range: Option<SourceRange>

The entire property range in the enclosing style declaration (if available).

Implementations

impl CssProperty[src]

pub fn new(name: impl Into<String>, value: impl Into<String>) -> CssProperty[src]

impl CssProperty[src]

impl CssProperty[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for CssProperty[src]

impl Debug for CssProperty[src]

impl<'de> Deserialize<'de> for CssProperty[src]

impl PartialEq<CssProperty> for CssProperty[src]

impl Serialize for CssProperty[src]

impl StructuralPartialEq for CssProperty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,