pub struct SetOuterHTMLParams<'a> { /* private fields */ }Expand description
Sets node HTML markup, returns new node id.
Implementations§
Source§impl<'a> SetOuterHTMLParams<'a>
impl<'a> SetOuterHTMLParams<'a>
Sourcepub fn builder(
node_id: NodeId,
outer_html: impl Into<Cow<'a, str>>,
) -> SetOuterHTMLParamsBuilder<'a>
pub fn builder( node_id: NodeId, outer_html: impl Into<Cow<'a, str>>, ) -> SetOuterHTMLParamsBuilder<'a>
Creates a builder for this type with the required parameters:
node_id: Id of the node to set markup for.outer_html: Outer HTML markup to set.
Sourcepub fn outer_html(&self) -> &str
pub fn outer_html(&self) -> &str
Outer HTML markup to set.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetOuterHTMLParams<'a>
impl<'a> CdpCommand<'a> for SetOuterHTMLParams<'a>
Source§impl<'a> Clone for SetOuterHTMLParams<'a>
impl<'a> Clone for SetOuterHTMLParams<'a>
Source§fn clone(&self) -> SetOuterHTMLParams<'a>
fn clone(&self) -> SetOuterHTMLParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetOuterHTMLParams<'a>
impl<'a> Debug for SetOuterHTMLParams<'a>
Source§impl<'a> Default for SetOuterHTMLParams<'a>
impl<'a> Default for SetOuterHTMLParams<'a>
Source§fn default() -> SetOuterHTMLParams<'a>
fn default() -> SetOuterHTMLParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetOuterHTMLParams<'a>
impl<'de, 'a> Deserialize<'de> for SetOuterHTMLParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for SetOuterHTMLParams<'a>
impl<'a> RefUnwindSafe for SetOuterHTMLParams<'a>
impl<'a> Send for SetOuterHTMLParams<'a>
impl<'a> Sync for SetOuterHTMLParams<'a>
impl<'a> Unpin for SetOuterHTMLParams<'a>
impl<'a> UnsafeUnpin for SetOuterHTMLParams<'a>
impl<'a> UnwindSafe for SetOuterHTMLParams<'a>
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