pub struct GetDocumentParams {
pub depth: Option<i32>,
pub pierce: Option<bool>,
}Expand description
Parameters for DOM.getDocument.
Fields§
§depth: Option<i32>The maximum depth at which children should be retrieved.
pierce: Option<bool>Whether or not iframes and shadow roots should be traversed.
Trait Implementations§
Source§impl Clone for GetDocumentParams
impl Clone for GetDocumentParams
Source§fn clone(&self) -> GetDocumentParams
fn clone(&self) -> GetDocumentParams
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 GetDocumentParams
impl Debug for GetDocumentParams
Source§impl Default for GetDocumentParams
impl Default for GetDocumentParams
Source§fn default() -> GetDocumentParams
fn default() -> GetDocumentParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetDocumentParams
impl RefUnwindSafe for GetDocumentParams
impl Send for GetDocumentParams
impl Sync for GetDocumentParams
impl Unpin for GetDocumentParams
impl UnwindSafe for GetDocumentParams
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