pub struct GetOuterHTMLBuilder { /* private fields */ }Expand description
Builder for GetOuterHTML.
Implementations§
Source§impl GetOuterHTMLBuilder
impl GetOuterHTMLBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Identifier of the node.
Sourcepub fn backend_node_id<VALUE: Into<BackendNodeId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn backend_node_id<VALUE: Into<BackendNodeId>>( &mut self, value: VALUE, ) -> &mut Self
Identifier of the backend node.
Sourcepub fn object_id<VALUE: Into<RemoteObjectId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn object_id<VALUE: Into<RemoteObjectId>>( &mut self, value: VALUE, ) -> &mut Self
JavaScript object id of the node wrapper.
Sourcepub fn include_shadow_dom<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn include_shadow_dom<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Include all shadow roots. Equals to false if not specified.
Sourcepub fn build(&self) -> Result<GetOuterHTML, GetOuterHTMLBuilderError>
pub fn build(&self) -> Result<GetOuterHTML, GetOuterHTMLBuilderError>
Trait Implementations§
Source§impl Clone for GetOuterHTMLBuilder
impl Clone for GetOuterHTMLBuilder
Source§fn clone(&self) -> GetOuterHTMLBuilder
fn clone(&self) -> GetOuterHTMLBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetOuterHTMLBuilder
impl RefUnwindSafe for GetOuterHTMLBuilder
impl Send for GetOuterHTMLBuilder
impl Sync for GetOuterHTMLBuilder
impl Unpin for GetOuterHTMLBuilder
impl UnsafeUnpin for GetOuterHTMLBuilder
impl UnwindSafe for GetOuterHTMLBuilder
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