Struct chromiumoxide::cdp::browser_protocol::css::CssSupports
source · pub struct CssSupports {
pub text: String,
pub active: bool,
pub range: Option<SourceRange>,
pub style_sheet_id: Option<StyleSheetId>,
}
Expand description
CSS Supports at-rule descriptor. CSSSupports
Fields§
§text: String
Supports rule text.
active: bool
Whether the supports condition is satisfied.
range: Option<SourceRange>
The associated rule header range in the enclosing stylesheet (if available).
style_sheet_id: Option<StyleSheetId>
Identifier of the stylesheet containing this object (if exists).
Implementations§
source§impl CssSupports
impl CssSupports
source§impl CssSupports
impl CssSupports
pub fn builder() -> CssSupportsBuilder
source§impl CssSupports
impl CssSupports
pub const IDENTIFIER: &'static str = "CSS.CSSSupports"
Trait Implementations§
source§impl Clone for CssSupports
impl Clone for CssSupports
source§fn clone(&self) -> CssSupports
fn clone(&self) -> CssSupports
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CssSupports
impl Debug for CssSupports
source§impl<'de> Deserialize<'de> for CssSupports
impl<'de> Deserialize<'de> for CssSupports
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CssSupports, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CssSupports, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CssSupports
impl PartialEq for CssSupports
source§fn eq(&self, other: &CssSupports) -> bool
fn eq(&self, other: &CssSupports) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CssSupports
impl Serialize for CssSupports
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CssSupports
Auto Trait Implementations§
impl Freeze for CssSupports
impl RefUnwindSafe for CssSupports
impl Send for CssSupports
impl Sync for CssSupports
impl Unpin for CssSupports
impl UnwindSafe for CssSupports
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more