pub struct SetMediaText {
pub method: SetMediaTextMethod,
pub params: SetMediaTextParams,
}Expand description
Modifies the rule selector. setMediaText
Fields§
§method: SetMediaTextMethod§params: SetMediaTextParamsImplementations§
Source§impl SetMediaText
impl SetMediaText
pub fn builder() -> SetMediaTextBuilder
Source§impl SetMediaText
impl SetMediaText
pub const IDENTIFIER: &'static str = "CSS.setMediaText"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetMediaText
impl Clone for SetMediaText
Source§fn clone(&self) -> SetMediaText
fn clone(&self) -> SetMediaText
Returns a duplicate 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 CommandResult for SetMediaText
impl CommandResult for SetMediaText
type Result = SetMediaTextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetMediaText
impl Debug for SetMediaText
Source§impl<'de> Deserialize<'de> for SetMediaText
impl<'de> Deserialize<'de> for SetMediaText
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 From<SetMediaText> for BrowserProtocolCommands
impl From<SetMediaText> for BrowserProtocolCommands
Source§fn from(v: SetMediaText) -> Self
fn from(v: SetMediaText) -> Self
Converts to this type from the input type.
Source§impl From<SetMediaText> for Command
impl From<SetMediaText> for Command
Source§fn from(v: SetMediaText) -> Self
fn from(v: SetMediaText) -> Self
Converts to this type from the input type.
Source§impl From<SetMediaText> for CssCommands
impl From<SetMediaText> for CssCommands
Source§fn from(v: SetMediaText) -> Self
fn from(v: SetMediaText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetMediaText
impl PartialEq for SetMediaText
Source§impl Serialize for SetMediaText
impl Serialize for SetMediaText
Source§impl TryFrom<BrowserProtocolCommands> for SetMediaText
impl TryFrom<BrowserProtocolCommands> for SetMediaText
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetMediaText as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetMediaText as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetMediaText
impl TryFrom<Command> for SetMediaText
Source§impl TryFrom<CssCommands> for SetMediaText
impl TryFrom<CssCommands> for SetMediaText
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <SetMediaText as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <SetMediaText as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetMediaText
Auto Trait Implementations§
impl Freeze for SetMediaText
impl RefUnwindSafe for SetMediaText
impl Send for SetMediaText
impl Sync for SetMediaText
impl Unpin for SetMediaText
impl UnsafeUnpin for SetMediaText
impl UnwindSafe for SetMediaText
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