pub struct GetFlattenedDocument {
pub depth: Option<JsUInt>,
pub pierce: Option<bool>,
}๐Deprecated
Expand description
Returns the root DOM node (and optionally the subtree) to the caller. Deprecated, as it is not designed to work well with the rest of the DOM agent. Use DOMSnapshot.captureSnapshot instead.
Fieldsยง
ยงdepth: Option<JsUInt>๐Deprecated
The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
pierce: Option<bool>๐Deprecated
Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).
Trait Implementationsยง
Sourceยงimpl Clone for GetFlattenedDocument
impl Clone for GetFlattenedDocument
Sourceยงfn clone(&self) -> GetFlattenedDocument
fn clone(&self) -> GetFlattenedDocument
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 Debug for GetFlattenedDocument
impl Debug for GetFlattenedDocument
Sourceยงimpl<'de> Deserialize<'de> for GetFlattenedDocument
impl<'de> Deserialize<'de> for GetFlattenedDocument
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 Method for GetFlattenedDocument
impl Method for GetFlattenedDocument
const NAME: &'static str = "DOM.getFlattenedDocument"
type ReturnObject = GetFlattenedDocumentReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Sourceยงimpl PartialEq for GetFlattenedDocument
impl PartialEq for GetFlattenedDocument
Sourceยงimpl Serialize for GetFlattenedDocument
impl Serialize for GetFlattenedDocument
impl StructuralPartialEq for GetFlattenedDocument
Auto Trait Implementationsยง
impl Freeze for GetFlattenedDocument
impl RefUnwindSafe for GetFlattenedDocument
impl Send for GetFlattenedDocument
impl Sync for GetFlattenedDocument
impl Unpin for GetFlattenedDocument
impl UnsafeUnpin for GetFlattenedDocument
impl UnwindSafe for GetFlattenedDocument
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