pub struct SetStyleSheetText {
pub method: SetStyleSheetTextMethod,
pub params: SetStyleSheetTextParams,
}Expand description
Sets the new stylesheet text. setStyleSheetText
Fields§
§method: SetStyleSheetTextMethod§params: SetStyleSheetTextParamsImplementations§
Source§impl SetStyleSheetText
impl SetStyleSheetText
pub fn builder() -> SetStyleSheetTextBuilder
Source§impl SetStyleSheetText
impl SetStyleSheetText
pub const IDENTIFIER: &'static str = "CSS.setStyleSheetText"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetStyleSheetText
impl Clone for SetStyleSheetText
Source§fn clone(&self) -> SetStyleSheetText
fn clone(&self) -> SetStyleSheetText
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 SetStyleSheetText
impl CommandResult for SetStyleSheetText
type Result = SetStyleSheetTextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetStyleSheetText
impl Debug for SetStyleSheetText
Source§impl<'de> Deserialize<'de> for SetStyleSheetText
impl<'de> Deserialize<'de> for SetStyleSheetText
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<SetStyleSheetText> for BrowserProtocolCommands
impl From<SetStyleSheetText> for BrowserProtocolCommands
Source§fn from(v: SetStyleSheetText) -> Self
fn from(v: SetStyleSheetText) -> Self
Converts to this type from the input type.
Source§impl From<SetStyleSheetText> for Command
impl From<SetStyleSheetText> for Command
Source§fn from(v: SetStyleSheetText) -> Self
fn from(v: SetStyleSheetText) -> Self
Converts to this type from the input type.
Source§impl From<SetStyleSheetText> for CssCommands
impl From<SetStyleSheetText> for CssCommands
Source§fn from(v: SetStyleSheetText) -> Self
fn from(v: SetStyleSheetText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetStyleSheetText
impl PartialEq for SetStyleSheetText
Source§impl Serialize for SetStyleSheetText
impl Serialize for SetStyleSheetText
Source§impl TryFrom<BrowserProtocolCommands> for SetStyleSheetText
impl TryFrom<BrowserProtocolCommands> for SetStyleSheetText
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, <SetStyleSheetText as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetStyleSheetText as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetStyleSheetText
impl TryFrom<Command> for SetStyleSheetText
Source§impl TryFrom<CssCommands> for SetStyleSheetText
impl TryFrom<CssCommands> for SetStyleSheetText
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, <SetStyleSheetText as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <SetStyleSheetText as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetStyleSheetText
Auto Trait Implementations§
impl Freeze for SetStyleSheetText
impl RefUnwindSafe for SetStyleSheetText
impl Send for SetStyleSheetText
impl Sync for SetStyleSheetText
impl Unpin for SetStyleSheetText
impl UnsafeUnpin for SetStyleSheetText
impl UnwindSafe for SetStyleSheetText
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