Struct chromiumoxide::cdp::browser_protocol::css::SetMediaTextParams
source · pub struct SetMediaTextParams {
pub style_sheet_id: StyleSheetId,
pub range: SourceRange,
pub text: String,
}
Expand description
Modifies the rule selector. setMediaText
Fields§
§style_sheet_id: StyleSheetId
§range: SourceRange
§text: String
Implementations§
source§impl SetMediaTextParams
impl SetMediaTextParams
pub fn new( style_sheet_id: impl Into<StyleSheetId>, range: impl Into<SourceRange>, text: impl Into<String> ) -> SetMediaTextParams
source§impl SetMediaTextParams
impl SetMediaTextParams
pub fn builder() -> SetMediaTextParamsBuilder
source§impl SetMediaTextParams
impl SetMediaTextParams
pub const IDENTIFIER: &'static str = "CSS.setMediaText"
Trait Implementations§
source§impl Clone for SetMediaTextParams
impl Clone for SetMediaTextParams
source§fn clone(&self) -> SetMediaTextParams
fn clone(&self) -> SetMediaTextParams
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 Command for SetMediaTextParams
impl Command for SetMediaTextParams
§type Response = SetMediaTextReturns
type Response = SetMediaTextReturns
The type of the response this request triggers on the chromium server
source§impl Debug for SetMediaTextParams
impl Debug for SetMediaTextParams
source§impl<'de> Deserialize<'de> for SetMediaTextParams
impl<'de> Deserialize<'de> for SetMediaTextParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SetMediaTextParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SetMediaTextParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for SetMediaTextParams
impl Method for SetMediaTextParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for SetMediaTextParams
impl MethodType for SetMediaTextParams
source§impl PartialEq for SetMediaTextParams
impl PartialEq for SetMediaTextParams
source§fn eq(&self, other: &SetMediaTextParams) -> bool
fn eq(&self, other: &SetMediaTextParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetMediaTextParams
impl Serialize for SetMediaTextParams
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 SetMediaTextParams
Auto Trait Implementations§
impl RefUnwindSafe for SetMediaTextParams
impl Send for SetMediaTextParams
impl Sync for SetMediaTextParams
impl Unpin for SetMediaTextParams
impl UnwindSafe for SetMediaTextParams
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