Struct chromiumoxide_cdp::cdp::browser_protocol::css::CssContainerQuery
source · pub struct CssContainerQuery {
pub text: String,
pub range: Option<SourceRange>,
pub style_sheet_id: Option<StyleSheetId>,
pub name: Option<String>,
}
Expand description
CSS container query rule descriptor. CSSContainerQuery
Fields§
§text: String
Container query text.
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).
name: Option<String>
Optional name for the container.
Implementations§
source§impl CssContainerQuery
impl CssContainerQuery
pub fn builder() -> CssContainerQueryBuilder
source§impl CssContainerQuery
impl CssContainerQuery
pub const IDENTIFIER: &'static str = "CSS.CSSContainerQuery"
Trait Implementations§
source§impl Clone for CssContainerQuery
impl Clone for CssContainerQuery
source§fn clone(&self) -> CssContainerQuery
fn clone(&self) -> CssContainerQuery
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 CssContainerQuery
impl Debug for CssContainerQuery
source§impl<'de> Deserialize<'de> for CssContainerQuery
impl<'de> Deserialize<'de> for CssContainerQuery
source§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
source§impl PartialEq for CssContainerQuery
impl PartialEq for CssContainerQuery
source§fn eq(&self, other: &CssContainerQuery) -> bool
fn eq(&self, other: &CssContainerQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CssContainerQuery
impl Serialize for CssContainerQuery
impl StructuralPartialEq for CssContainerQuery
Auto Trait Implementations§
impl RefUnwindSafe for CssContainerQuery
impl Send for CssContainerQuery
impl Sync for CssContainerQuery
impl Unpin for CssContainerQuery
impl UnwindSafe for CssContainerQuery
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