pub struct SetOuterHtml {
pub method: SetOuterHtmlMethod,
pub params: SetOuterHtmlParams,
}Expand description
Sets node HTML markup, returns new node id. setOuterHTML
Fields§
§method: SetOuterHtmlMethod§params: SetOuterHtmlParamsImplementations§
Source§impl SetOuterHtml
impl SetOuterHtml
pub fn builder() -> SetOuterHtmlBuilder
Source§impl SetOuterHtml
impl SetOuterHtml
pub const IDENTIFIER: &'static str = "DOM.setOuterHTML"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetOuterHtml
impl Clone for SetOuterHtml
Source§fn clone(&self) -> SetOuterHtml
fn clone(&self) -> SetOuterHtml
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 SetOuterHtml
impl CommandResult for SetOuterHtml
type Result = SetOuterHtmlResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetOuterHtml
impl Debug for SetOuterHtml
Source§impl<'de> Deserialize<'de> for SetOuterHtml
impl<'de> Deserialize<'de> for SetOuterHtml
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<SetOuterHtml> for BrowserProtocolCommands
impl From<SetOuterHtml> for BrowserProtocolCommands
Source§fn from(v: SetOuterHtml) -> Self
fn from(v: SetOuterHtml) -> Self
Converts to this type from the input type.
Source§impl From<SetOuterHtml> for Command
impl From<SetOuterHtml> for Command
Source§fn from(v: SetOuterHtml) -> Self
fn from(v: SetOuterHtml) -> Self
Converts to this type from the input type.
Source§impl From<SetOuterHtml> for DomCommands
impl From<SetOuterHtml> for DomCommands
Source§fn from(v: SetOuterHtml) -> Self
fn from(v: SetOuterHtml) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetOuterHtml
impl PartialEq for SetOuterHtml
Source§impl Serialize for SetOuterHtml
impl Serialize for SetOuterHtml
Source§impl TryFrom<BrowserProtocolCommands> for SetOuterHtml
impl TryFrom<BrowserProtocolCommands> for SetOuterHtml
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, <SetOuterHtml as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetOuterHtml as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetOuterHtml
impl TryFrom<Command> for SetOuterHtml
Source§impl TryFrom<DomCommands> for SetOuterHtml
impl TryFrom<DomCommands> for SetOuterHtml
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <SetOuterHtml as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <SetOuterHtml as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetOuterHtml
Auto Trait Implementations§
impl Freeze for SetOuterHtml
impl RefUnwindSafe for SetOuterHtml
impl Send for SetOuterHtml
impl Sync for SetOuterHtml
impl Unpin for SetOuterHtml
impl UnsafeUnpin for SetOuterHtml
impl UnwindSafe for SetOuterHtml
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